← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 7491: minor fixed

 

------------------------------------------------------------
revno: 7491
committer: Lai <lai.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2012-07-03 09:22:08 +0700
message:
  minor fixed
modified:
  dhis-2/dhis-web/dhis-web-api-mobile/src/main/java/org/hisp/dhis/api/mobile/controller/MobileOrganisationUnitController.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-mobile/src/main/java/org/hisp/dhis/api/mobile/controller/MobileOrganisationUnitController.java'
--- dhis-2/dhis-web/dhis-web-api-mobile/src/main/java/org/hisp/dhis/api/mobile/controller/MobileOrganisationUnitController.java	2012-07-02 06:43:56 +0000
+++ dhis-2/dhis-web/dhis-web-api-mobile/src/main/java/org/hisp/dhis/api/mobile/controller/MobileOrganisationUnitController.java	2012-07-03 02:22:08 +0000
@@ -167,35 +167,5 @@
     {
         return organisationUnitService.getOrganisationUnit( id );
     }
-    
-/*    @RequestMapping( method = RequestMethod.GET, value = "updateClient" )
-    @ResponseBody
-    public InputStream updateClient()
-    {
-        
-        File fileToDownload = new File( "DHISMobile-Aggregate.jar" );
-        
-        InputStream inputStream = null;
-        
-        if(fileToDownload == null)
-            
-            System.out.println("sorry! can't find your shit");
-        else
-            System.out.println("shit shit shit! name is "+fileToDownload.getName());
-        
-        try
-        {
-            inputStream = new BufferedInputStream( new FileInputStream( fileToDownload ));
-            System.out.println(inputStream.read());
-        }
-            
-        catch (Exception e )
-        {
-            // TODO Auto-generated catch block
-            e.printStackTrace();
-        }
-        return inputStream;
-        
-    }*/
 
 }