dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #20893
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 9747: bugfix for hashCode in UserGroup, check for null (Jackson often creates partial objects, so we ca...
------------------------------------------------------------
revno: 9747
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Wed 2013-02-06 10:00:40 +0700
message:
bugfix for hashCode in UserGroup, check for null (Jackson often creates partial objects, so we can't rely on all properties being there)
modified:
dhis-2/dhis-api/src/main/java/org/hisp/dhis/user/UserGroup.java
--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk
Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-api/src/main/java/org/hisp/dhis/user/UserGroup.java'
--- dhis-2/dhis-api/src/main/java/org/hisp/dhis/user/UserGroup.java 2013-01-14 21:35:56 +0000
+++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/user/UserGroup.java 2013-02-06 03:00:40 +0000
@@ -109,11 +109,6 @@
return name.equals( userGroup.getName() );
}
- public int hashCode()
- {
- return name.hashCode();
- }
-
// -------------------------------------------------------------------------
// Logic
// -------------------------------------------------------------------------