dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #41916
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 21386: Cat option combo, NPE fix
------------------------------------------------------------
revno: 21386
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Wed 2015-12-09 14:07:46 +0100
message:
Cat option combo, NPE fix
modified:
dhis-2/dhis-api/src/main/java/org/hisp/dhis/dataelement/DataElementCategoryOptionCombo.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/DataElementCategoryOptionCombo.java'
--- dhis-2/dhis-api/src/main/java/org/hisp/dhis/dataelement/DataElementCategoryOptionCombo.java 2015-11-26 13:33:55 +0000
+++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/dataelement/DataElementCategoryOptionCombo.java 2015-12-09 13:07:46 +0000
@@ -250,7 +250,7 @@
public boolean isDefault()
{
- return categoryCombo != null && categoryCombo.getName().equals( DEFAULT_NAME );
+ return categoryCombo != null && DEFAULT_NAME.equals( categoryCombo.getName() );
}
/**