mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
reject imports from default package (IDEA-138822; IDEA-154024)
This commit is contained in:
+7
@@ -1,5 +1,8 @@
|
||||
import static <error descr="Cannot resolve symbol 'MyConstants'">MyConstants</error>.*;
|
||||
import <error descr="Cannot resolve symbol 'MyConstants'">MyConstants</error>;
|
||||
import <error descr="Cannot resolve symbol 'MyConstants'">MyConstants</error>.Inner;
|
||||
import static <error descr="Cannot resolve symbol 'MyConstants'">MyConstants</error>.Inner.*;
|
||||
import static <error descr="Cannot resolve symbol 'MyConstants'">MyConstants</error>.Inner.INNER_CONSTANT;
|
||||
|
||||
class MyClient
|
||||
{
|
||||
@@ -9,4 +12,8 @@ class MyClient
|
||||
class MyConstants
|
||||
{
|
||||
public static final int CONSTANT = 1;
|
||||
|
||||
public static class Inner {
|
||||
public static final String INNER_CONSTANT = "const";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user