From 693df762a0621dd5c55f3556eea7bedcb64b1016 Mon Sep 17 00:00:00 2001 From: Nico Kruber Date: Fri, 25 Jan 2013 13:51:30 +0100 Subject: jinterface: don't need another FilterOutputStream wrapper DeflaterOutputStream is already an FilterOutputStream --- lib/jinterface/java_src/com/ericsson/otp/erlang/OtpOutputStream.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/jinterface/java_src/com/ericsson/otp/erlang/OtpOutputStream.java b/lib/jinterface/java_src/com/ericsson/otp/erlang/OtpOutputStream.java index 22ebb4688a..dafc758b65 100644 --- a/lib/jinterface/java_src/com/ericsson/otp/erlang/OtpOutputStream.java +++ b/lib/jinterface/java_src/com/ericsson/otp/erlang/OtpOutputStream.java @@ -773,10 +773,8 @@ public class OtpOutputStream extends ByteArrayOutputStream { final OtpOutputStream oos = new OtpOutputStream(o); write1(OtpExternal.compressedTag); write4BE(oos.size()); - final java.io.FilterOutputStream fos = new java.io.FilterOutputStream( - this); final java.util.zip.DeflaterOutputStream dos = new java.util.zip.DeflaterOutputStream( - fos); + this); try { oos.writeTo(dos); dos.close(); -- cgit v1.2.3