commit-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Patch: FYI: 3 more minor cleanups


From: Tom Tromey
Subject: Patch: FYI: 3 more minor cleanups
Date: 29 Apr 2004 09:34:28 -0600

This cleans up a few more imports and removes a couple of unused
fields.

Tom

Index: ChangeLog
===================================================================
RCS file: /cvsroot/classpath/classpath/ChangeLog,v
retrieving revision 1.2133
diff -u -r1.2133 ChangeLog
--- ChangeLog   29 Apr 2004 14:37:05 -0000      1.2133
+++ ChangeLog   29 Apr 2004 15:43:50 -0000
@@ -1,3 +1,9 @@
+2004-04-29  Tom Tromey  <address@hidden>
+
+       * java/text/AttributedString.java: Cleaned up imports.
+       * java/util/zip/Deflater.java (strategy): Removed.
+       * java/util/zip/DeflaterEngine.java (buffer): Removed.
+
 2004-04-29  Michael Koch  <address@hidden>
 
        * include/java_nio_MappedByteBufferImpl.h:
Index: java/text/AttributedString.java
===================================================================
RCS file: /cvsroot/classpath/classpath/java/text/AttributedString.java,v
retrieving revision 1.7
diff -u -r1.7 AttributedString.java
--- java/text/AttributedString.java     23 Apr 2004 16:03:10 -0000      1.7
+++ java/text/AttributedString.java     29 Apr 2004 15:44:12 -0000
@@ -40,7 +40,6 @@
 
 import java.util.Arrays;
 import java.util.HashMap;
-import java.util.HashSet;
 import java.util.Hashtable;
 import java.util.Iterator;
 import java.util.Map;
Index: java/util/zip/Deflater.java
===================================================================
RCS file: /cvsroot/classpath/classpath/java/util/zip/Deflater.java,v
retrieving revision 1.4
diff -u -r1.4 Deflater.java
--- java/util/zip/Deflater.java 4 Feb 2004 07:53:45 -0000       1.4
+++ java/util/zip/Deflater.java 29 Apr 2004 15:44:12 -0000
@@ -146,9 +146,6 @@
   /** should we include a header. */
   private boolean noHeader;
 
-  /** Compression strategy. */
-  private int strategy;
-
   /** The current state. */
   private int state;
 
Index: java/util/zip/DeflaterEngine.java
===================================================================
RCS file: /cvsroot/classpath/classpath/java/util/zip/DeflaterEngine.java,v
retrieving revision 1.5
diff -u -r1.5 DeflaterEngine.java
--- java/util/zip/DeflaterEngine.java   5 Jul 2002 21:28:07 -0000       1.5
+++ java/util/zip/DeflaterEngine.java   29 Apr 2004 15:44:12 -0000
@@ -41,7 +41,6 @@
   private final static int TOO_FAR = 4096;
 
   private int ins_h;
-  private byte[] buffer;
 
   /**
    * Hashtable, hashing three characters to an index for window, so




reply via email to

[Prev in Thread] Current Thread [Next in Thread]