mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-10 09:39:37 +07:00
- changed behaviour in safe way by introducing new method to check that particular expression does not depend on committed PSI GitOrigin-RevId: f5ec732613cdafdcef8a1d48eb8d04135c634047
11 lines
214 B
Plaintext
11 lines
214 B
Plaintext
|
|
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;
|
|
}
|
|
} |