mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-17 11:40:50 +07:00
forbid default package classes in static imports (IDEA-26971 )
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
import static <error descr="Cannot resolve symbol 'MyConstants'">MyConstants</error>.*;
|
||||
|
||||
public class MyClient
|
||||
{
|
||||
private int field = MyConstants.CONSTANT;
|
||||
}
|
||||
|
||||
class MyConstants
|
||||
{
|
||||
public static final int CONSTANT = 1;
|
||||
}
|
||||
Reference in New Issue
Block a user