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

Jukka Zitting resolved TIKA-601.
--------------------------------

    Resolution: Fixed
      Assignee: Jukka Zitting

Thanks! Patch committed in revision 1079904.

> [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, 0.9
>            Reporter: Dave Brosius
>            Assignee: Jukka Zitting
>            Priority: Trivial
>             Fix For: 1.0
>
>         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

Reply via email to