← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 17691: [mobile] port he fix for Jgzip from 2.17

 

------------------------------------------------------------
revno: 17691
committer: Long Ngo Thanh <thanhlongngo1988@xxxxxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2014-12-11 16:06:50 +0700
message:
  [mobile] port he fix for Jgzip from 2.17
modified:
  dhis-2/dhis-web/dhis-web-api-mobile/src/main/java/org/hisp/dhis/api/mobile/support/DataStreamSerializer.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/support/DataStreamSerializer.java'
--- dhis-2/dhis-web/dhis-web-api-mobile/src/main/java/org/hisp/dhis/api/mobile/support/DataStreamSerializer.java	2014-03-18 08:10:10 +0000
+++ dhis-2/dhis-web/dhis-web-api-mobile/src/main/java/org/hisp/dhis/api/mobile/support/DataStreamSerializer.java	2014-12-11 09:06:50 +0000
@@ -36,6 +36,7 @@
 import java.io.OutputStream;
 
 import org.hisp.dhis.api.mobile.model.DataStreamSerializable;
+import org.jfree.util.Log;
 
 import com.jcraft.jzlib.JZlib;
 import com.jcraft.jzlib.ZOutputStream;
@@ -85,7 +86,7 @@
             dos.flush();
             dos.close();
             
-            gzip.finish();
+            //gzip.finish();
         }
     }