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:
Yonik Seeley 2011-06-13 16:48:04 +00:00
parent 5e66d65bfd
commit f3225e0153
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}