mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 15:27:45 +07:00
IDEA-194439 Regression: Enum.toString() should not be externally annotated as @NotNull
This commit is contained in:
+5
-1
@@ -23,4 +23,8 @@ interface NonNullEnum {
|
||||
String name();
|
||||
}
|
||||
|
||||
enum NonNullEnumImpl implements NonNullEnum {}
|
||||
enum NonNullEnumImpl implements NonNullEnum { a;
|
||||
public String toString() {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user