// "Replace iteration with bulk 'Collection.addAll' call" "true" import java.util.*; public class Collect { static class Person {} void collectNames(List persons, Collection toAdd){ Iterator it = toAdd.iterator(); while (it.hasNext()) { Person person = it.next(); persons.add(person); } } }