mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-20 11:36:16 +07:00
9 lines
281 B
Java
9 lines
281 B
Java
// "Replace 'stream().toArray()' with 'toArray()'" "true"
|
|
|
|
import java.util.*;
|
|
|
|
class Test {
|
|
public void testToArray(List<String[]> data) {
|
|
String[][] array = data.subList(0, /*max number*/ 10).stream().to<caret>Array((size) -> /*generate array*/ new String[(size)][]);
|
|
}
|
|
} |