mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 15:27:45 +07:00
ensure public inner inside interface (IDEA-118564)
This commit is contained in:
+13
@@ -0,0 +1,13 @@
|
||||
// "Create Inner Class 'MyCollection'" "true"
|
||||
import java.util.*;
|
||||
|
||||
public interface I {
|
||||
public static void main() {
|
||||
Collection c = new MyCollection(1, "test");
|
||||
}
|
||||
|
||||
static class MyCollection implements Collection {
|
||||
public MyCollection(int i, String test) {
|
||||
}
|
||||
}
|
||||
}
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
// "Create Inner Class 'MyCollection'" "true"
|
||||
import java.util.*;
|
||||
|
||||
public interface I {
|
||||
public static void main() {
|
||||
Collection c = new <caret>MyCollection(1, "test");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user