mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-01 03:12:15 +07:00
GitOrigin-RevId: fd52ace3d7a32ecd02c2c5ab90e077967604c15e
20 lines
326 B
Java
20 lines
326 B
Java
|
|
class Test {
|
|
|
|
private boolean test(String s) {
|
|
if(s != null) {
|
|
s = s.trim();
|
|
if (s.isEmpty()) {
|
|
return true;
|
|
}
|
|
}
|
|
return false;
|
|
}
|
|
|
|
String use(String[] list) {
|
|
for(String str : list) {
|
|
if (<caret>test(str)) continue;
|
|
System.out.println("Ok string: "+str);
|
|
}
|
|
}
|
|
} |