mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 23:39:39 +07:00
- call `commitDocument` explicitly in cases when `calculateQuickResult` can redirect it's calculation to heavy `calculateResult` GitOrigin-RevId: 41f0c47c57f4528d7d7a25208024ec28bb8c2e12
13 lines
262 B
Plaintext
13 lines
262 B
Plaintext
class Test {
|
|
|
|
void use(String s) {
|
|
String s1 = s+s;
|
|
if(s1 != null) {
|
|
s1 = s1.trim();
|
|
if (s1.isEmpty()) {
|
|
throw new IllegalArgumentException();
|
|
}
|
|
}
|
|
System.out.println("woohoo");
|
|
}
|
|
} |