Details
-
Improvement
-
Resolution: Fixed
-
Neutral
-
None
-
None
-
None
-
-
Empty show more show less
-
Basel 56
-
5
Description
Since many implementations of DefinitionType interface are enums - it is very unfortunate that it has name() method - since enums have such name and its finalised (may not be overriden).
This means that we cannot override it for instance in order to provide human readable definition type captions.
Some concerns about the provided PR and issue in general:
- #name() method name is unfortunate and should definitely be deprecated
- current PR solves the problem with Java 8's default methods (for compatibility), which is bad - won't work for 5.4
Checklists
Acceptance criteria
Attachments
Issue Links
- is depended upon by
-
CFGUI-19 Make filter combos captions human-friendly
-
- Closed
-
-
MGNLUI-3957 Provide human readable definition type captions
-
- Closed
-
- relates to
-
MGNLSITE-69 Implement DefinitionType#getName() for ThemeRegistry type
-
- Closed
-