mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-25 14:25:04 +07:00
do not generate protected constructors for enums (IDEA-53086)
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
public enum Operation {
|
||||
PLUS {
|
||||
int eval(int x, int y) {
|
||||
return x + y;
|
||||
}
|
||||
};
|
||||
|
||||
abstract int eval(int x, int y);
|
||||
|
||||
Operation() {
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user