Files
Tagir Valeev fc4f8118d2 [java-refactoring] IDEA-338428 Inline pattern variable doesn't work when it's located in nested condition
GitOrigin-RevId: 158e71c18441ffd56eebabe107899b95ac4ac15d
2023-11-17 18:11:02 +00:00

7 lines
164 B
Plaintext

class Test {
void test(Object obj) {
if (Math.random() > 0.5 || (obj instanceof String && ((String) obj).isEmpty())) {
System.out.println();
}
}
}