CPP-16098 - Lags during inplace rename typing

- removed `commitDocument` call when `isQuick` argument is passed
- pass `element` or `null` to `equalsToText` call (since there is not real need to take it for text comparison)

GitOrigin-RevId: 27c5e1a2f484fc56d41dfd210832ae94c9a9b7ab
This commit is contained in:
Vladimir Plyashkun
2019-05-03 01:37:04 +03:00
committed by intellij-monorepo-bot
parent 9f35a30458
commit d712ac9901
277 changed files with 2805 additions and 3468 deletions
@@ -0,0 +1,11 @@
class Test {
boolean use(String s) {
String s1 = s + s;
if (s1 == null) return true;
s1 = s1.trim();
if (s1.isEmpty()) return true;
return s1.length() % 2 != 0;
}
}