mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-20 20:20:56 +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
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");
|
|
}
|
|
} |