wording: don't suggest to make enum constant abstract (IDEA-98165)

This commit is contained in:
anna
2012-12-28 18:33:13 +01:00
parent 4f7a6d0de0
commit 7646fda820
3 changed files with 4 additions and 3 deletions
@@ -1,5 +1,5 @@
<error descr="Modifier 'abstract' not allowed here">abstract</error> enum OurEnum {
A <error descr="Class 'Anonymous class derived from OurEnum' must either be declared abstract or implement abstract method 'foo()' in 'OurEnum'">{</error>
A <error descr="Class 'Anonymous class derived from OurEnum' must implement abstract method 'foo()' in 'OurEnum'">{</error>
},
<error descr="'OurEnum' is abstract; cannot be instantiated">B</error>,
C {
@@ -12,7 +12,7 @@
enum xxx {
<error descr="'xxx' is abstract; cannot be instantiated">X</error>,
Y <error descr="Class 'Anonymous class derived from xxx' must either be declared abstract or implement abstract method 'f()' in 'xxx'">{</error>
Y <error descr="Class 'Anonymous class derived from xxx' must implement abstract method 'f()' in 'xxx'">{</error>
};
abstract void f();