mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-01 18:58:31 +07:00
18 lines
372 B
Java
18 lines
372 B
Java
// "Replace Stream API chain with loop" "true"
|
|
|
|
import java.util.List;
|
|
import java.util.Objects;
|
|
|
|
public class Main {
|
|
String test(List<List<String>> strings) {
|
|
for (List<String> string : strings) {
|
|
if (string != null) {
|
|
for (String s : string) {
|
|
return "abc";
|
|
}
|
|
}
|
|
}
|
|
return "xyz";
|
|
}
|
|
}
|