Remove redundant type arguments and end-of-line whitespace.
This commit is contained in:
parent
485876f9c2
commit
0568456103
|
@ -53,7 +53,7 @@ public class ClassUtils {
|
|||
|
||||
/** Includes interfaces. */
|
||||
INCLUDE,
|
||||
|
||||
|
||||
/** Excludes interfaces. */
|
||||
EXCLUDE
|
||||
}
|
||||
|
|
|
@ -417,7 +417,7 @@ public class Functions {
|
|||
* @return The created {@link FailableStream}.
|
||||
*/
|
||||
public static <O> FailableStream<O> stream(final Stream<O> pStream) {
|
||||
return new FailableStream<O>(pStream);
|
||||
return new FailableStream<>(pStream);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -434,7 +434,7 @@ public class Functions {
|
|||
* @return The created {@link FailableStream}.
|
||||
*/
|
||||
public static <O> FailableStream<O> stream(final Collection<O> pCollection) {
|
||||
return new FailableStream<O>(pCollection.stream());
|
||||
return new FailableStream<>(pCollection.stream());
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -279,7 +279,7 @@ public class Streams {
|
|||
*/
|
||||
public <R> FailableStream<R> map(final FailableFunction<O, R, ?> pMapper) {
|
||||
assertNotTerminated();
|
||||
return new FailableStream<R>(stream.map(Functions.asFunction(pMapper)));
|
||||
return new FailableStream<>(stream.map(Functions.asFunction(pMapper)));
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -376,7 +376,7 @@ public class Streams {
|
|||
* converting the stream.
|
||||
*/
|
||||
public static <O> FailableStream<O> stream(final Stream<O> pStream) {
|
||||
return new FailableStream<O>(pStream);
|
||||
return new FailableStream<>(pStream);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue