You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Erik Hatcher (JIRA)" <ji...@apache.org> on 2005/10/12 14:58:04 UTC

[jira] Resolved: (LUCENE-452) PrefixQuery is missing the equals() method

     [ http://issues.apache.org/jira/browse/LUCENE-452?page=all ]
     
Erik Hatcher resolved LUCENE-452:
---------------------------------

    Fix Version: 1.9
     Resolution: Fixed

Resolved

> PrefixQuery is missing the equals() method
> ------------------------------------------
>
>          Key: LUCENE-452
>          URL: http://issues.apache.org/jira/browse/LUCENE-452
>      Project: Lucene - Java
>         Type: Improvement
>     Versions: 1.9
>     Reporter: Guillaume Blain
>     Priority: Minor
>      Fix For: 1.9
>  Attachments: PrefixQuery.java
>
> The PrefixQuery is inheriting the java.lang.Object's object default equals method. This makes it hard to have test working of PrefixFilter or any other task requiring equals to work proerply (insertion in Set, etc.). The equal method should be very similar, not to say identical except for class casting, to the equals() of TermQuery. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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