------------------------------------------------------------
revno: 13654
committer: Morten Olav Hansen <[email protected]>
branch nick: dhis2
timestamp: Wed 2014-01-08 12:27:18 +0100
message:
minor fix
modified:
dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/api/controller/organisationunit/OrganisationUnitGroupController.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-api/src/main/java/org/hisp/dhis/api/controller/organisationunit/OrganisationUnitGroupController.java'
--- dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/api/controller/organisationunit/OrganisationUnitGroupController.java 2014-01-08 11:19:03 +0000
+++ dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/api/controller/organisationunit/OrganisationUnitGroupController.java 2014-01-08 11:27:18 +0000
@@ -122,10 +122,8 @@
@RequestMapping( value = "/{uid}/members/{orgUnitUid}", method = RequestMethod.POST )
@PreAuthorize( "hasRole('ALL') or hasRole('F_ORGANISATIONUNIT_ADD')" )
@ResponseStatus( value = HttpStatus.NO_CONTENT )
- public void addMember( HttpServletResponse response, HttpServletRequest request, @PathVariable( "uid" )
- String uid, @PathVariable( "orgUnitUid" )
- String orgUnitUid )
- throws Exception
+ public void addMember( HttpServletResponse response, HttpServletRequest request, @PathVariable( "uid" ) String uid,
+ @PathVariable( "orgUnitUid" ) String orgUnitUid ) throws Exception
{
OrganisationUnitGroup group = organisationUnitGroupService.getOrganisationUnitGroup( uid );
OrganisationUnit unit = organisationUnitService.getOrganisationUnit( orgUnitUid );
@@ -139,10 +137,8 @@
@RequestMapping( value = "/{uid}/members/{orgUnitUid}", method = RequestMethod.DELETE )
@PreAuthorize( "hasRole('ALL') or hasRole('F_ORGANISATIONUNIT_ADD')" )
@ResponseStatus( value = HttpStatus.NO_CONTENT )
- public void removeMember( HttpServletResponse response, HttpServletRequest request, @PathVariable( "uid" )
- String uid, @PathVariable( "orgUnitUid" )
- String orgUnitUid )
- throws Exception
+ public void removeMember( HttpServletResponse response, HttpServletRequest request, @PathVariable( "uid" ) String uid,
+ @PathVariable( "orgUnitUid" ) String orgUnitUid ) throws Exception
{
OrganisationUnitGroup group = organisationUnitGroupService.getOrganisationUnitGroup( uid );
OrganisationUnit unit = organisationUnitService.getOrganisationUnit( orgUnitUid );
_______________________________________________
Mailing list: https://launchpad.net/~dhis2-devs
Post to : [email protected]
Unsubscribe : https://launchpad.net/~dhis2-devs
More help : https://help.launchpad.net/ListHelp