mirror of
https://github.com/apache/lucene.git
synced 2025-03-09 01:59:27 +00:00
SOLR-2136: fix SimpleBoolFunction.equals()
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1135168 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
5e66d65bfd
commit
f3225e0153
@ -63,7 +63,7 @@ public abstract class SimpleBoolFunction extends BoolFunction {
|
||||
@Override
|
||||
public boolean equals(Object o) {
|
||||
if (this.getClass() != o.getClass()) return false;
|
||||
SingleFunction other = (SingleFunction)o;
|
||||
SimpleBoolFunction other = (SimpleBoolFunction)o;
|
||||
return this.source.equals(other.source);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user