From a1009b450e68c083c0d3c56129602697a4f674d9 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Thu, 24 Sep 2015 18:31:03 +0200 Subject: Bug 1231: Usability of CustomCompress API incl zip-level; Replace test-exe deflated files w/ zip-level 9 --- src/junit/com/jogamp/common/util/CustomDeflate.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/junit/com/jogamp/common') diff --git a/src/junit/com/jogamp/common/util/CustomDeflate.java b/src/junit/com/jogamp/common/util/CustomDeflate.java index 876c6e4..d4682e8 100644 --- a/src/junit/com/jogamp/common/util/CustomDeflate.java +++ b/src/junit/com/jogamp/common/util/CustomDeflate.java @@ -71,7 +71,7 @@ public class CustomDeflate { throw new IOException("Got "+numBytes+" bytes != expected "+inSize); } out = new FileOutputStream(fileOut); - CustomCompress.deflateToStream(input, out); + CustomCompress.deflateToStream(input, 0, inSize, 9, out); } catch (final IOException ioe) { ioe.printStackTrace(); } finally { -- cgit v1.2.3