mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-10 13:17:09 +07:00
switch -> if: fix comments line breaks (IDEA-195383)
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
// "Replace 'switch' with 'if'" "true"
|
||||
class X {
|
||||
void test(int i) {
|
||||
if (i == 1) {//foo
|
||||
if (Math.random() > 0.5) {
|
||||
System.out.println("Hello");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
// "Replace 'switch' with 'if'" "true"
|
||||
class X {
|
||||
void test(int i) {
|
||||
<caret>switch (i) {
|
||||
case 1:
|
||||
//foo
|
||||
if (Math.random() > 0.5) {
|
||||
System.out.println("Hello");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user