mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-01 18:58:31 +07:00
19 lines
470 B
Java
19 lines
470 B
Java
// "Replace with collect" "false"
|
|
|
|
import java.io.BufferedReader;
|
|
import java.io.IOException;
|
|
import java.util.ArrayList;
|
|
import java.util.List;
|
|
|
|
public class Main {
|
|
List<String> test(List<BufferedReader> readers) throws IOException {
|
|
List<String> result = new ArrayList<>();
|
|
for(BufferedReader br : readers) {
|
|
String line = "";
|
|
wh<caret>ile (null != (line = br.readLine())) {
|
|
result.add(line.trim());
|
|
}
|
|
}
|
|
return result;
|
|
}
|
|
} |