mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-22 23:08:54 +07:00
- call `commitDocument` explicitly in cases when `calculateQuickResult` can redirect it's calculation to heavy `calculateResult` GitOrigin-RevId: 41f0c47c57f4528d7d7a25208024ec28bb8c2e12
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);
|
|
}
|
|
}
|
|
} |