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