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