dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #07715
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 2249: bug fix in categoryCombo equals method
------------------------------------------------------------
revno: 2249
committer: Abyot Asalefew Gizaw <abyota@xxxxxxxxx>
branch nick: trunk
timestamp: Mon 2010-09-27 11:24:45 +0200
message:
bug fix in categoryCombo equals method
modified:
dhis-2/dhis-api/src/main/java/org/hisp/dhis/dataelement/DataElementCategoryCombo.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/dataelement/DataElementCategoryCombo.java'
--- dhis-2/dhis-api/src/main/java/org/hisp/dhis/dataelement/DataElementCategoryCombo.java 2010-05-12 12:21:00 +0000
+++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/dataelement/DataElementCategoryCombo.java 2010-09-27 09:24:45 +0000
@@ -133,7 +133,7 @@
return false;
}
- if ( getClass() != object.getClass() )
+ if ( !(object instanceof DataElementCategoryCombo) )
{
return false;
}