blob: f7287c4b9a56cc7eba321b5837e14224678b2cd9 [file] [log] [blame]
// "Replace with collect" "true"
import java.util.*;
public class Collect {
class Person {
String getName() {
return "";
}
}
void collectNames(List<Person> persons, Set<String> names){
for (Person person : pers<caret>ons) {
names.add(person.getName());
}
}
}