You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by bo...@apache.org on 2010/04/22 11:47:51 UTC
svn commit: r936697 -
/commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/zip/ZipFile.java
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;
- }
};
}