Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/mergeIfAnd/beforeIfBlock.java
Bas Leijdekkers 0954a97685 IPP: make intention texts more distinguishable from each other
GitOrigin-RevId: 47d0fe080875ef6f68bac5fa3b2e836c2f5430c0
2020-11-06 13:43:59 +00:00

23 lines
462 B
Java

// "Merge nested 'if' statements" "true"
class Test {
// IDEA-179557
public static void main(String[] args) {
long abc = 0;
do {
i<caret>f ( abc++ == 71 ) {
// comment
if ( abc++ >= 999 ) {
System.out.println(88);
if ( abc++ < 23 ) {
System.err.println( "Log nonsense" );
}
}
}
} while( abc++ < 7 );
if ( abc++ < 47 ) {
System.out.println(abc);
}
}
}