mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-02 11:18:16 +07:00
16 lines
315 B
Java
16 lines
315 B
Java
// "Replace with anyMatch()" "true"
|
|
|
|
import java.util.List;
|
|
|
|
public class Main {
|
|
public void testAssignment(List<String> data) {
|
|
String found = "no";
|
|
for(String str : da<caret>ta) {
|
|
String trimmed = str.trim();
|
|
if(!trimmed.isEmpty()) {
|
|
found = "yes";
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
} |