mirror of
https://github.com/github/codeql.git
synced 2026-05-01 19:55:15 +02:00
Java: Comment in method for converting stream to Array.
This commit is contained in:
@@ -159,8 +159,8 @@ public class Stream<T> {
|
||||
return null;
|
||||
}
|
||||
|
||||
// Issue with model generator - no models are generated.
|
||||
// public <A> A[] toArray(IntFunction<A[]> generator) {
|
||||
// throw null;
|
||||
// }
|
||||
// Models will only be partial correct as there is no mentioning of the type T.
|
||||
public <A> A[] toArray(IntFunction<A[]> generator) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user