mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 07:40:42 +07:00
UnrollLoopAction: comment handling fixed
This commit is contained in:
+1
@@ -11,5 +11,6 @@ class Test {
|
||||
System.out.println("Hi!" + 7);
|
||||
System.out.println("Hi!" + 8);
|
||||
System.out.println("Hi!" + 9);
|
||||
// line comment
|
||||
}
|
||||
}
|
||||
+2
-1
@@ -1,7 +1,8 @@
|
||||
// "Unroll loop" "true"
|
||||
class Test {
|
||||
void test() {
|
||||
fo<caret>r (int i = 0; i < 10; i++) {
|
||||
fo<caret>r (int i = 0; i < 10; i++ // line comment
|
||||
) {
|
||||
System.out.println("Hi!" + i);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user