diff options
author | Nico Kruber <[email protected]> | 2013-01-25 13:51:30 +0100 |
---|---|---|
committer | Fredrik Gustafsson <[email protected]> | 2013-02-04 09:52:33 +0100 |
commit | 693df762a0621dd5c55f3556eea7bedcb64b1016 (patch) | |
tree | 822a89b95def0de05c62bcae305caaf3ccd21862 /lib/jinterface | |
parent | 1cbd897c43f0dab1275392a3736e4629c1f80243 (diff) | |
download | otp-693df762a0621dd5c55f3556eea7bedcb64b1016.tar.gz otp-693df762a0621dd5c55f3556eea7bedcb64b1016.tar.bz2 otp-693df762a0621dd5c55f3556eea7bedcb64b1016.zip |
jinterface: don't need another FilterOutputStream wrapper
DeflaterOutputStream is already an FilterOutputStream
Diffstat (limited to 'lib/jinterface')
-rw-r--r-- | lib/jinterface/java_src/com/ericsson/otp/erlang/OtpOutputStream.java | 4 |
1 files changed, 1 insertions, 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(); |