int (List aList) { List list2; int counter = 0; for (int i=0; i<aList.size(); i++) { while (counter != 0) { counter++; list2 = new ArrayList(); } <error descr="Variable 'list2' might not have been initialized">list2</error>.add(aList.get(i)); } return counter; }