blob: 2b797ce1d6675463671e40077a86bb7f66182870 [file] [log] [blame]
// "Replace with collect" "false"
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
public class ForEachTest {
interface A {
String ii() throws IOException;
}
private List<A> reqs;
public ForEachTest () throws IOException {
List<String> result = new ArrayList<>();
for(A val : re<caret>qs) {
result.add(val.ii());
}
}
}