// "Replace 'stream().toArray()' with 'toArray()'" "true" import java.util.*; class Test { public void testToArray(List data) { String[][] array = data.subList(0, /*max number*/ 10).stream().toArray((size) -> /*generate array*/ new String[(size)][]); } }