dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #27412
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 13654: minor fix
------------------------------------------------------------
revno: 13654
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
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 );