mirror of https://github.com/apache/lucene.git
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
|
@Override
|
||||||
public boolean equals(Object o) {
|
public boolean equals(Object o) {
|
||||||
if (this.getClass() != o.getClass()) return false;
|
if (this.getClass() != o.getClass()) return false;
|
||||||
SingleFunction other = (SingleFunction)o;
|
SimpleBoolFunction other = (SimpleBoolFunction)o;
|
||||||
return this.source.equals(other.source);
|
return this.source.equals(other.source);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue