Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.1
-
None
-
None
-
all
Description
int org.apache.commons.lang.enums.ValuedEnum.compareTo(Object other)
is not typesafe - if the int-values are the same, it will return "0" even for two totally different sub-classes of ValuedEnum
Attachments
Issue Links
- is related to
-
LANG-258 Enum JavaDoc: 1) outline 5.0 native Enum migration 2) warn not to use the switch() , 3) point out approaches for persistence and gui
- Closed