dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #38931
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 19772: Made DataDimensionItem.getNameableObject return null instead of throwing exception.
------------------------------------------------------------
revno: 19772
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2015-08-17 16:24:47 -0400
message:
Made DataDimensionItem.getNameableObject return null instead of throwing exception.
modified:
dhis-2/dhis-api/src/main/java/org/hisp/dhis/common/DataDimensionItem.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/common/DataDimensionItem.java'
--- dhis-2/dhis-api/src/main/java/org/hisp/dhis/common/DataDimensionItem.java 2015-07-02 23:57:16 +0000
+++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/common/DataDimensionItem.java 2015-08-17 20:24:47 +0000
@@ -164,7 +164,7 @@
return trackedEntityAttribute;
}
- throw new IllegalStateException( "Data dimension is null" );
+ return null;
}
// -------------------------------------------------------------------------