commit | 63edfdbf1425a562b8262de256f912b214ea4d0f | [log] [tgz] |
---|---|---|
author | Michael Ochmann <michael.ochmann@sap.com> | Tue Mar 17 14:46:03 2015 +0100 |
committer | Michael Ochmann <michael.ochmann@sap.com> | Tue Mar 17 15:08:09 2015 +0100 |
tree | cb33b273c9171e42838ee203058fa0ec383071ac | |
parent | ebad64138e437604f3380fa94f7dd069860e7983 [diff] |
Fixed Member#equals(), compareTo() and hashCode() equals() and hashCode() were implemented using super, which is wrong because Member is derived directly from Object. compareTo() did not handle userID == null correctly. Conversion of the userID to lowercase is now performed in the constructor and setter. Added some missing tests. Change-Id: I4c265021921809cb6e3655b2fda4be6f3d36de88 Signed-off-by: Michael Ochmann <michael.ochmann@sap.com>