aboutsummaryrefslogtreecommitdiffstats
path: root/weaver5
diff options
context:
space:
mode:
authoraclement <aclement>2010-05-18 16:20:16 +0000
committeraclement <aclement>2010-05-18 16:20:16 +0000
commitccb9dc3c39591d7d2e29e4fe0b0ace12ea6ff9ff (patch)
tree030d416c1bc29611a473d3283c0e893225e9ac63 /weaver5
parent80a05d33ee3e5003952bae928c9d0bbc2cffec38 (diff)
downloadaspectj-ccb9dc3c39591d7d2e29e4fe0b0ace12ea6ff9ff.tar.gz
aspectj-ccb9dc3c39591d7d2e29e4fe0b0ace12ea6ff9ff.zip
change all relevant DataOutputStream usage to use CompressingDataOutputStream
Diffstat (limited to 'weaver5')
-rw-r--r--weaver5/java5-testsrc/org/aspectj/weaver/patterns/WildTypePatternResolutionTestCase.java4
1 files 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();