Skip to content

Commit 091cb69

Browse files
committed
IterableTypeExtractor: tweak functional notation
1 parent 9f98e17 commit 091cb69

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scijava/scijava-types/src/main/java/org/scijava/types/extractors/IterableTypeExtractor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public Type reify(final TypeReifier t, final Iterable<?> o, final int n) {
6161
// can we make this more efficient (possibly a parallel stream)?
6262
Type[] types = StreamSupport.stream(o.spliterator(), false) //
6363
.limit(typesToCheck) //
64-
.map(s -> t.reify(s)) //
64+
.map(t::reify) //
6565
.toArray(Type[]::new);
6666

6767
return Types.greatestCommonSuperType(types, true);

0 commit comments

Comments
 (0)