lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Blain (JIRA)" <>
Subject [jira] Updated: (LUCENE-452) PrefixQuery is missing the equals() method
Date Tue, 11 Oct 2005 21:16:05 GMT
     [ ]

Guillaume Blain updated LUCENE-452:


Here's waht the should be like modified the revsision 201453 valid as of
20051011, also added hashcode() which I forgot to mention in the previous message

> PrefixQuery is missing the equals() method
> ------------------------------------------
>          Key: LUCENE-452
>          URL:
>      Project: Lucene - Java
>         Type: Improvement
>     Versions: 1.9
>     Reporter: Guillaume Blain
>     Priority: Minor
>  Attachments:
> 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:
For more information on JIRA, see:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message