mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-01 18:58:31 +07:00
15 lines
309 B
Java
15 lines
309 B
Java
// "Replace with anyMatch()" "true"
|
|
|
|
import java.util.List;
|
|
|
|
public class Main {
|
|
public void testAssignment(List<String> data) {
|
|
for (String str : d<caret>ata) {
|
|
String trimmed = str.trim();
|
|
if (!trimmed.isEmpty()) {
|
|
System.out.println("Found!!!");
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
} |