Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/unrollLoop/afterUnrollBreak.java
Tagir Valeev 1f6ad2d2bb Preserve comment right after the loop
GitOrigin-RevId: e096580618c805f0e1f5c8e1a878b5e3321174c7
2020-06-23 13:11:19 +03:00

19 lines
518 B
Java

// "Unroll loop" "true"
class Test {
void test() {
if (!(Math.random() > 0.5)) {
System.out.println((Object) "one");
if (!(Math.random() > 0.5)) {
System.out.println((Object) 1);
if (!(Math.random() > 0.5)) {
System.out.println((Object) 1.0);
if (!(Math.random() > 0.5)) {
System.out.println((Object) 1.0f);
}
}
}
}//Comment
}
void foo(boolean b) {}
}