dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #42508
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 21726: NPE fix
------------------------------------------------------------
revno: 21726
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2016-01-14 14:21:43 +0100
message:
NPE fix
modified:
dhis-2/dhis-api/src/main/java/org/hisp/dhis/dataelement/DataElementCategoryOption.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/DataElementCategoryOption.java'
--- dhis-2/dhis-api/src/main/java/org/hisp/dhis/dataelement/DataElementCategoryOption.java 2016-01-04 02:27:49 +0000
+++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/dataelement/DataElementCategoryOption.java 2016-01-14 13:21:43 +0000
@@ -92,7 +92,7 @@
public boolean isDefault()
{
- return name.equals( DEFAULT_NAME );
+ return DEFAULT_NAME.equals( name );
}
/**