ZipFile.OFFSET_COMPARATOR.new Comparator() {...}.equals(Object o) should be
deleted
-----------------------------------------------------------------------------------
Key: COMPRESS-106
URL: https://issues.apache.org/jira/browse/COMPRESS-106
Project: Commons Compress
Issue Type: Improvement
Reporter: Sebb
The method ZipFile.OFFSET_COMPARATOR.new Comparator() {...}.equals(Object o)
should be deleted, as it does nothing useful.
The contents are exactly the same as Object.equals().
If the method is kept, then the class should also override hashCode() for
consistency.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.