mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-17 21:43:33 +07:00
InvertIfConditionAction: better comment handling
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
// "Invert 'if' condition" "true"
|
||||
class A {
|
||||
void f(){
|
||||
while (true) {
|
||||
if (false) //comment
|
||||
{
|
||||
System.out.println();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
// "Invert 'if' condition" "true"
|
||||
class A {
|
||||
void f(){
|
||||
while (true) {
|
||||
i<caret>f (true) continue;//comment
|
||||
System.out.println();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user