[
https://issues.apache.org/jira/browse/LUCENE-5070?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13690353#comment-13690353
]
Adrien Grand commented on LUCENE-5070:
--------------------------------------
OK, the fact that the major attribute impls and that AttributeSource
implemented it made me think it was the way it should be. In that case, can we
remove all these equals and hashCode methods in 5.0 so that we can find broken
code which relies on the fact that equals and hashCode are correctly
implemented?
> NumericTermAttributeImpl should implement equals
> ------------------------------------------------
>
> Key: LUCENE-5070
> URL: https://issues.apache.org/jira/browse/LUCENE-5070
> Project: Lucene - Core
> Issue Type: Bug
> Reporter: Adrien Grand
> Priority: Minor
>
> NumericTermAttributeImpl doesn't implements equals, making two
> AttributeSources unequal as soon as one of them contains a
> NumericTermAttributeImpl. I think we should review all our AttributeImpls to
> make sure they correctly implement equals.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]