From ccb9dc3c39591d7d2e29e4fe0b0ace12ea6ff9ff Mon Sep 17 00:00:00 2001 From: aclement Date: Tue, 18 May 2010 16:20:16 +0000 Subject: [PATCH] change all relevant DataOutputStream usage to use CompressingDataOutputStream --- .../weaver/patterns/WildTypePatternResolutionTestCase.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/weaver5/java5-testsrc/org/aspectj/weaver/patterns/WildTypePatternResolutionTestCase.java b/weaver5/java5-testsrc/org/aspectj/weaver/patterns/WildTypePatternResolutionTestCase.java index 4767367db..6211d5db9 100644 --- a/weaver5/java5-testsrc/org/aspectj/weaver/patterns/WildTypePatternResolutionTestCase.java +++ b/weaver5/java5-testsrc/org/aspectj/weaver/patterns/WildTypePatternResolutionTestCase.java @@ -13,12 +13,12 @@ package org.aspectj.weaver.patterns; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; -import java.io.DataOutputStream; import java.io.IOException; import junit.framework.TestCase; import org.aspectj.weaver.BoundedReferenceType; +import org.aspectj.weaver.CompressingDataOutputStream; import org.aspectj.weaver.ResolvedType; import org.aspectj.weaver.TypeFactory; import org.aspectj.weaver.UnresolvedType; @@ -387,7 +387,7 @@ public class WildTypePatternResolutionTestCase extends TestCase { private TypePattern writeAndRead(TypePattern etp) { try { ByteArrayOutputStream baos = new ByteArrayOutputStream(); - DataOutputStream dos = new DataOutputStream(baos); + CompressingDataOutputStream dos = new CompressingDataOutputStream(baos); etp.write(dos); dos.flush(); dos.close(); -- 2.39.5