mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-09 15:41:26 +07:00
SortContentAction: add parens handling for enum expressions
This commit is contained in:
+2
-1
@@ -8,6 +8,7 @@ public class Main {
|
||||
private static void foo(String a, E... vararg) {}
|
||||
|
||||
private void test() {
|
||||
foo("bar", E.A, E.A, E.B, E.C, E.D);
|
||||
foo("bar", E.A, E.A, ((E.B) //
|
||||
), E.C, (/**/E.D));
|
||||
}
|
||||
}
|
||||
|
||||
+2
-1
@@ -8,6 +8,7 @@ public class Main {
|
||||
private static void foo(String a, E... vararg) {}
|
||||
|
||||
private void test() {
|
||||
foo("bar", E.B, E.A,<caret> E.C, E.D, E.A);
|
||||
foo("bar", ((E.B) //
|
||||
), E.A,<caret> E.C, (/**/E.D), E.A);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user