diff options
author | aclement <aclement> | 2010-05-18 16:20:09 +0000 |
---|---|---|
committer | aclement <aclement> | 2010-05-18 16:20:09 +0000 |
commit | 3b76e3c76c7518fe2ce1bb97a8201f08e5ef9382 (patch) | |
tree | 07b5db0d68b0798b61e269a5481c06641fb752c4 | |
parent | fa9ff459559dfcf440b0ee662879222b15045147 (diff) | |
download | aspectj-3b76e3c76c7518fe2ce1bb97a8201f08e5ef9382.tar.gz aspectj-3b76e3c76c7518fe2ce1bb97a8201f08e5ef9382.zip |
change all relevant DataOutputStream usage to use CompressingDataOutputStream
-rw-r--r-- | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjState.java | 4 | ||||
-rw-r--r-- | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/IncrementalStateManager.java | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjState.java b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjState.java index ee10e08e0..e0b101eab 100644 --- a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjState.java +++ b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjState.java @@ -13,7 +13,6 @@ package org.aspectj.ajdt.internal.core.builder; -import java.io.DataOutputStream; import java.io.File; import java.io.FileFilter; import java.io.FilenameFilter; @@ -53,6 +52,7 @@ import org.aspectj.org.eclipse.jdt.internal.core.builder.ReferenceCollection; import org.aspectj.org.eclipse.jdt.internal.core.builder.StringSet; import org.aspectj.util.FileUtil; import org.aspectj.weaver.BCException; +import org.aspectj.weaver.CompressingDataOutputStream; import org.aspectj.weaver.ResolvedType; import org.aspectj.weaver.bcel.BcelWeaver; import org.aspectj.weaver.bcel.BcelWorld; @@ -2056,7 +2056,7 @@ public class AjState implements CompilerConfigurationChangeFlags { aspectClassFiles.add(aspectFile); } - public void write(DataOutputStream dos) throws IOException { + public void write(CompressingDataOutputStream dos) throws IOException { // weaver weaver.write(dos); // world diff --git a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/IncrementalStateManager.java b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/IncrementalStateManager.java index 90b78ddf6..36b2687f9 100644 --- a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/IncrementalStateManager.java +++ b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/IncrementalStateManager.java @@ -11,7 +11,6 @@ * ******************************************************************/ package org.aspectj.ajdt.internal.core.builder; -import java.io.DataOutputStream; import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; @@ -24,6 +23,7 @@ import java.util.Map; import java.util.Set; import org.aspectj.ajdt.internal.compiler.CompilationResultDestinationManager; +import org.aspectj.weaver.CompressingDataOutputStream; /** * Central point for all things incremental... - keeps track of the state recorded for each different config file - allows limited @@ -61,7 +61,7 @@ public class IncrementalStateManager { File f = new File("c:/temp/foo.ajstate"); try { AjState state = (AjState) entry.getValue(); - DataOutputStream dos = new DataOutputStream(new FileOutputStream(f)); + CompressingDataOutputStream dos = new CompressingDataOutputStream(new FileOutputStream(f)); state.write(dos); dos.close(); } catch (FileNotFoundException e) { |