You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Alexandre Dupriez (Issue Comment Edited) (JIRA)" <ji...@apache.org> on 2011/11/02 22:35:32 UTC

[jira] [Issue Comment Edited] (LUCENE-3554) AbstractField / Field / NumericField do not override equals and hashcode methods

    [ https://issues.apache.org/jira/browse/LUCENE-3554?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13142411#comment-13142411 ] 

Alexandre Dupriez edited comment on LUCENE-3554 at 11/2/11 9:33 PM:
--------------------------------------------------------------------

Is there any special reason which prevent these classes to override the equals/hashcode methods? If not, would a patch be welcome?
                
      was (Author: adupriez):
    Is there any special reason which prevent these classes to override the equals/hashcode methods? If not, would a patch be welcomed?
                  
> AbstractField / Field / NumericField do not override equals and hashcode methods
> --------------------------------------------------------------------------------
>
>                 Key: LUCENE-3554
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3554
>             Project: Lucene - Java
>          Issue Type: Wish
>          Components: core/index
>            Reporter: Alexandre Dupriez
>            Priority: Minor
>   Original Estimate: 1h 55m
>  Remaining Estimate: 1h 55m
>
> Field, NumericField and AbstractField implementations of Fieldable do not override equals and hashcode methods and cannot be compared as such.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org