From c462810080ff3497cd965b0fcab6e263ea0b1f4f Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Tue, 25 Jun 2013 06:40:30 +0000 Subject: [PATCH] SMACK-448 Java7ZlibInputOutputStream: Use correct Deflater compression level git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@13694 b35dd754-fafc-0310-a699-88a17e54d16e --- .../smack/compression/Java7ZlibInputOutputStream.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/org/jivesoftware/smack/compression/Java7ZlibInputOutputStream.java b/source/org/jivesoftware/smack/compression/Java7ZlibInputOutputStream.java index dc504517b..ffa65d542 100644 --- a/source/org/jivesoftware/smack/compression/Java7ZlibInputOutputStream.java +++ b/source/org/jivesoftware/smack/compression/Java7ZlibInputOutputStream.java @@ -38,7 +38,7 @@ import java.util.zip.InflaterInputStream; public class Java7ZlibInputOutputStream extends XMPPInputOutputStream { private final static Method method; private final static boolean supported; - private final static int compressionLevel = Deflater.DEFAULT_STRATEGY; + private final static int compressionLevel = Deflater.DEFAULT_COMPRESSION; static { Method m = null;