mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
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:
committed by
intellij-monorepo-bot
parent
9f35a30458
commit
d712ac9901
@@ -0,0 +1,13 @@
|
||||
|
||||
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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user