From 7b6a742f0f2bea30bb44085af7edd150d2b387ab Mon Sep 17 00:00:00 2001 From: AlrikG Date: Mon, 22 Jun 2015 17:12:12 +0200 Subject: [PATCH] Update GZIPSerializer.java --- .../jme3/network/serializing/serializers/GZIPSerializer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jme3-networking/src/main/java/com/jme3/network/serializing/serializers/GZIPSerializer.java b/jme3-networking/src/main/java/com/jme3/network/serializing/serializers/GZIPSerializer.java index a4dd10098..7579e84c5 100644 --- a/jme3-networking/src/main/java/com/jme3/network/serializing/serializers/GZIPSerializer.java +++ b/jme3-networking/src/main/java/com/jme3/network/serializing/serializers/GZIPSerializer.java @@ -88,7 +88,7 @@ public class GZIPSerializer extends Serializer { GZIPOutputStream gzipOutput = new GZIPOutputStream(byteArrayOutput); tempBuffer.flip(); - gzipOutput.write(tempBuffer.array(), 0, tempBuffer.limit()); + gzipOutput.write(tempBuffer.array(), 0, tempBuffer.limit()); gzipOutput.flush(); gzipOutput.finish(); gzipOutput.close();