← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 2729: Removed meaningless method wrongly annotated with @GET

 

------------------------------------------------------------
revno: 2729
committer: Jo Størset <storset@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2011-01-24 20:18:48 +0530
message:
  Removed meaningless method wrongly annotated with @GET
modified:
  dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/web/api/resources/OrgUnitResource.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/web/api/resources/OrgUnitResource.java'
--- dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/web/api/resources/OrgUnitResource.java	2011-01-12 09:13:36 +0000
+++ dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/web/api/resources/OrgUnitResource.java	2011-01-24 14:48:48 +0000
@@ -156,15 +156,11 @@
                 updatedDataSetList.getModifiedDataSets().add( dataSets.get( i ) );
             }
         }
-        return getUpdatedDataSet( updatedDataSetList );
-    }
-
-    @GET
-    public DataSetList getUpdatedDataSet( DataSetList dataSetList )
-    {
+        
         if ( DEBUG )
             log.debug( "Returning updated datasets for org unit " + unit.getName() );
-        return dataSetList;
+
+        return updatedDataSetList;
     }
 
     /**