mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 15:27:45 +07:00
IDEA-124609 Unexpected indentation of anonymous classes
This commit is contained in:
+15
@@ -0,0 +1,15 @@
|
||||
public class Test {
|
||||
|
||||
public static void run(Runnable runnable) {
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
run(
|
||||
new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
<caret>
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
public class Test {
|
||||
|
||||
public static void run(Runnable runnable) {
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
run(new <caret>)
|
||||
}
|
||||
}
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
public class Test {
|
||||
|
||||
public static void run(int times, Runnable runnable) {
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
run(
|
||||
123, new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
<caret>
|
||||
}
|
||||
}
|
||||
);
|
||||
}
|
||||
}
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
public class Test {
|
||||
|
||||
public static void run(int times, Runnable runnable) {
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
run(123, new <caret>)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user