Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/surroundWithIf/after1.java
Tagir Valeev ad40c945e2 [java-inspections] More quickfixes to ModCommand
GitOrigin-RevId: ccc6093d680712cb81c1325d997fb2771b61a0be
2023-06-25 19:05:51 +00:00

9 lines
195 B
Java

// "Surround with 'if (i != null)'" "true-preview"
class A {
void foo(int x){
String i = x > 0 ? "" : null;
if (i<caret> != null) {
i.hashCode();
}
}
}