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] Updated: (TIKA-601) [patch] objects that compareTo each other, should also equals each other
Date Sun, 20 Feb 2011 02:41:38 GMT

     [ https://issues.apache.org/jira/browse/TIKA-601?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Dave Brosius updated TIKA-601:
------------------------------

    Attachment: compareto_should_equals.diff

> [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
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> 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