CPP-16098 - Lags during inplace rename typing

- call `commitDocument` explicitly in cases when `calculateQuickResult` can redirect it's calculation to heavy `calculateResult`

GitOrigin-RevId: 41f0c47c57f4528d7d7a25208024ec28bb8c2e12
This commit is contained in:
Vladimir Plyashkun
2019-05-03 01:38:12 +03:00
committed by intellij-monorepo-bot
parent dc1a52762e
commit e3ca319824
279 changed files with 2826 additions and 3487 deletions
@@ -0,0 +1,17 @@
class Test {
private boolean test(String s) {
if(s != null) {
s = s.trim();
if (s.isEmpty()) {
return true;
}
}
return false;
}
void use(String s) {
if(<caret>test(s+s)) throw new IllegalArgumentException();
System.out.println("woohoo");
}
}