1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-12-02 00:42:07 +01:00

SMACK-448 Java7ZlibInputOutputStream: Use correct Deflater compression level

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/branches/smack_3_3_1@13693 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
Florian Schmaus 2013-06-24 22:42:37 +00:00 committed by flow
parent c2d057f4b2
commit 9f2446c78e

View file

@ -38,7 +38,7 @@ import java.util.zip.InflaterInputStream;
public class Java7ZlibInputOutputStream extends XMPPInputOutputStream { public class Java7ZlibInputOutputStream extends XMPPInputOutputStream {
private final static Method method; private final static Method method;
private final static boolean supported; private final static boolean supported;
private final static int compressionLevel = Deflater.DEFAULT_STRATEGY; private final static int compressionLevel = Deflater.DEFAULT_COMPRESSION;
static { static {
Method m = null; Method m = null;