mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-09 06:40:10 +07:00
- call `commitDocument` explicitly in cases when `calculateQuickResult` can redirect it's calculation to heavy `calculateResult` GitOrigin-RevId: 41f0c47c57f4528d7d7a25208024ec28bb8c2e12
13 lines
229 B
Java
13 lines
229 B
Java
|
|
class Test {
|
|
boolean check(String s) {
|
|
if (s == null) return false;
|
|
s = s.trim();
|
|
if (s.isEmpty()) return false;
|
|
return s.length() % 2 == 0;
|
|
}
|
|
|
|
boolean use(String s) {
|
|
return !<caret>check(s + s);
|
|
}
|
|
} |