You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Dave Brosius (JIRA)" <ji...@apache.org> on 2011/02/20 03:41:38 UTC
[jira] Created: (TIKA-601) [patch] objects that compareTo each
other, should also equals each other
[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
[jira] Updated: (TIKA-601) [patch] objects that compareTo each
other, should also equals each other
Posted by "Chris A. Mattmann (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TIKA-601?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chris A. Mattmann updated TIKA-601:
-----------------------------------
Affects Version/s: 0.9
Fix Version/s: (was: 0.9)
1.0
0.9 is out the door - fix version should be 1.0
> [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
> 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
[jira] Resolved: (TIKA-601) [patch] objects that compareTo each
other, should also equals each other
Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
[ 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