tika-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Brosius (JIRA)" <j...@apache.org>
Subject [jira] Created: (TIKA-601) [patch] objects that compareTo each other, should also equals each other
Date Sun, 20 Feb 2011 02:41:38 GMT
[patch] objects that compareTo each other, should also equals each other
------------------------------------------------------------------------

                 Key: TIKA-601
                 URL: https://issues.apache.org/jira/browse/TIKA-601
             Project: Tika
          Issue Type: Improvement
          Components: mime
    Affects Versions: 0.8
            Reporter: Dave Brosius
            Priority: Trivial
             Fix For: 0.9
         Attachments: compareto_should_equals.diff

various classes implement compareTo but don't implement equals. These two methods should work
the same as some built-in class in the jdk have switched implementations thru different versions
to use compareTo vs equals. In addition, added hashCode methods for there classes.



-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message