An error pops up with the latest integration build. The type
inference seems weird, but we can specify the expected type
manually.
Change-Id: I83da0970e87991138ca8afbb776ce22ab5d46b67
Signed-off-by: Alexandre Montplaisir <alexmonthy@efficios.com>
Reviewed-on: https://git.eclipse.org/r/85623
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
if (stream == null) {
throw new NullPointerException();
}
- return checkNotNull(stream.map(t -> checkNotNull(t)));
+ return checkNotNull(stream.<@NonNull T> map(t -> checkNotNull(t)));
}
/**