mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-18 00:20:54 +07:00
23 lines
470 B
Java
23 lines
470 B
Java
// "Merge nested 'if' statements" "true-preview"
|
|
|
|
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);
|
|
}
|
|
}
|
|
}
|