[jOOQ/jOOQ#10775] Collection.toArray(IntFunction) is JDK 11 only
This commit is contained in:
parent
b64d438ab6
commit
a938481008
@ -63,7 +63,7 @@ public final class Rows {
|
||||
public static <T> Collector<T, ?, RowN[]> collectingArray(
|
||||
Function<? super T, ?>... functions
|
||||
) {
|
||||
return Collectors.collectingAndThen(collecting(functions), l -> l.toArray(RowN[]::new));
|
||||
return Collectors.collectingAndThen(collecting(functions), l -> l.toArray(new RowN[0]));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Loading…
Reference in New Issue
Block a user