Skip to content

Commit 0c09f78

Browse files
committed
Java: Comment in method for converting stream to Array.
1 parent 84743ec commit 0c09f78

File tree

1 file changed

+4
-4
lines changed
  • java/ql/test/utils/model-generator/typebasedflow/p

1 file changed

+4
-4
lines changed

java/ql/test/utils/model-generator/typebasedflow/p/Stream.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,8 @@ public Object[] toArray() {
159159
return null;
160160
}
161161

162-
// Issue with model generator - no models are generated.
163-
// public <A> A[] toArray(IntFunction<A[]> generator) {
164-
// throw null;
165-
// }
162+
// Models will only be partial correct as there is no mentioning of the type T.
163+
public <A> A[] toArray(IntFunction<A[]> generator) {
164+
return null;
165+
}
166166
}

0 commit comments

Comments
 (0)