[
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