Update GZIPSerializer.java
This commit is contained in:
parent
2cf7d9eb5a
commit
7b6a742f0f
@ -88,7 +88,7 @@ public class GZIPSerializer extends Serializer {
|
|||||||
GZIPOutputStream gzipOutput = new GZIPOutputStream(byteArrayOutput);
|
GZIPOutputStream gzipOutput = new GZIPOutputStream(byteArrayOutput);
|
||||||
|
|
||||||
tempBuffer.flip();
|
tempBuffer.flip();
|
||||||
gzipOutput.write(tempBuffer.array(), 0, tempBuffer.limit());
|
gzipOutput.write(tempBuffer.array(), 0, tempBuffer.limit());
|
||||||
gzipOutput.flush();
|
gzipOutput.flush();
|
||||||
gzipOutput.finish();
|
gzipOutput.finish();
|
||||||
gzipOutput.close();
|
gzipOutput.close();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user