Files
openide/java/java-tests/testData/codeInsight/invertIfCondition/afterConditionWithComment.java

14 lines
283 B
Java

// "Invert 'if' condition" "true"
class A {
// IDEA-153371
public void foo() {
String value ="not-null";
// Another comment
if (value == null) {
return;
}
System.out.println(value);
// Comment gets deleted.
}
}