HIGUCHI Yuta
Committed by Gerrit Code Review

Help type inference.

- Build was failing with eclipse ECJ

Change-Id: I506e90b52b0c0f63081e75cfa98a83bf294261ba
...@@ -660,7 +660,7 @@ public abstract class Tools { ...@@ -660,7 +660,7 @@ public abstract class Tools {
660 * @return optional as a stream 660 * @return optional as a stream
661 */ 661 */
662 public static <T> Stream<T> stream(Optional<? extends T> optional) { 662 public static <T> Stream<T> stream(Optional<? extends T> optional) {
663 - return optional.map(x -> Stream.of(x)).orElse(Stream.empty()); 663 + return optional.map(x -> Stream.<T>of(x)).orElse(Stream.empty());
664 } 664 }
665 665
666 // Auxiliary path visitor for recursive directory structure copying. 666 // Auxiliary path visitor for recursive directory structure copying.
......