------------------------------------------------------------ revno: 8533 committer: Lars Helge Ă˜verland <larshe...@gmail.com> branch nick: dhis2 timestamp: Mon 2012-10-15 13:58:42 +0200 message: Removed try/catch block designed for confusion modified: dhis-2/dhis-web/dhis-web-mapping/src/main/java/org/hisp/dhis/mapping/action/GetGeoJsonAction.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-web/dhis-web-mapping/src/main/java/org/hisp/dhis/mapping/action/GetGeoJsonAction.java' --- dhis-2/dhis-web/dhis-web-mapping/src/main/java/org/hisp/dhis/mapping/action/GetGeoJsonAction.java 2012-10-15 11:21:06 +0000 +++ dhis-2/dhis-web/dhis-web-mapping/src/main/java/org/hisp/dhis/mapping/action/GetGeoJsonAction.java 2012-10-15 11:58:42 +0000 @@ -97,13 +97,7 @@ if ( parent == null ) { - try - { - parent = organisationUnitService.getOrganisationUnit( Integer.parseInt( parentId ) ); - } - catch ( NumberFormatException e ) - { - } + parent = organisationUnitService.getOrganisationUnit( Integer.parseInt( parentId ) ); } level = level == null ? organisationUnitService.getLevelOfOrganisationUnit( parent.getId() ) : level;
_______________________________________________ Mailing list: https://launchpad.net/~dhis2-devs Post to : dhis2-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~dhis2-devs More help : https://help.launchpad.net/ListHelp