Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Currently AMQShortString.equals will return true if it is passed an instance of CharSequence which contains the same character sequence as the AMQShortString, however this means that a.equals(b) != b.equals(a) if a is an AMQShortString and b is (for example) a String. This is an violation of the expected contract from equals.