commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r936697 - /commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/zip/ZipFile.java
Date Thu, 22 Apr 2010 09:47:51 GMT
Author: bodewig
Date: Thu Apr 22 09:47:50 2010
New Revision: 936697

URL: http://svn.apache.org/viewvc?rev=936697&view=rev
Log:
remove useless equals method from ZipFile.OFFSET_COMPARATOR.  COMPRESS-106

Modified:
    commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/zip/ZipFile.java

Modified: commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/zip/ZipFile.java
URL: http://svn.apache.org/viewvc/commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/zip/ZipFile.java?rev=936697&r1=936696&r2=936697&view=diff
==============================================================================
--- commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/zip/ZipFile.java
(original)
+++ commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/zip/ZipFile.java
Thu Apr 22 09:47:50 2010
@@ -695,8 +695,5 @@ public class ZipFile {
                 long val = (off1.headerOffset - off2.headerOffset);
                 return val == 0 ? 0 : val < 0 ? -1 : +1;
             }
-            public boolean equals(Object o) {
-                return o == this;
-            }
         };
 }



Mime
View raw message