commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <>
Subject [jira] Created: (COMPRESS-106) Comparator() {...}.equals(Object o) should be deleted
Date Wed, 21 Apr 2010 17:13:49 GMT Comparator() {...}.equals(Object o) should be deleted

                 Key: COMPRESS-106
             Project: Commons Compress
          Issue Type: Improvement
            Reporter: Sebb

The method 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.

View raw message