mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 08:45:34 +07:00
warn about private/static modifiers inside local classes (IDEA-85567)
This commit is contained in:
+1
-1
@@ -115,7 +115,7 @@ class X extends <error descr="Classes cannot directly extend 'java.lang.Enum'">E
|
||||
|
||||
enum StaticInEnumConstantInitializer {
|
||||
AN {
|
||||
<error descr="Inner classes cannot have static declarations">static</error> class s {
|
||||
<error descr="Modifier 'static' not allowed here">static</error> class s {
|
||||
}
|
||||
private <error descr="Inner classes cannot have static declarations">static</error> final String t = String.valueOf(1);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user