Apache Lucene open-source search software
SOLR-2136: fix SimpleBoolFunction.equals()
Yonik Seeleyf3225e01534e
diff --git a/solr/src/java/org/apache/solr/search/function/SimpleBoolFunction.java b/solr/src/java/org/apache/solr/search/function/SimpleBoolFunction.javaindex 6a4da8b229d..bb35c9dadaf 100644--- a/solr/src/java/org/apache/solr/search/function/SimpleBoolFunction.java+++ b/solr/src/java/org/apache/solr/search/function/SimpleBoolFunction.java@@ -63,7 +63,7 @@ public abstract class SimpleBoolFunction extends BoolFunction {@Overridepublic 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);}