mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
anonymous->inner: do not generate public static class inside interface
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
interface M {
|
||||
Runnable r = new Runnable() {<caret>
|
||||
@Override
|
||||
public void run() {
|
||||
|
||||
}
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
interface M {
|
||||
Runnable r = new MyRunnable();
|
||||
|
||||
class MyRunnable implements Runnable {
|
||||
@Override
|
||||
public void run() {
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user