lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yo...@apache.org
Subject svn commit: r814410 - /lucene/solr/trunk/src/java/org/apache/solr/search/function/QueryValueSource.java
Date Sun, 13 Sep 2009 22:35:00 GMT
Author: yonik
Date: Sun Sep 13 22:35:00 2009
New Revision: 814410

URL: http://svn.apache.org/viewvc?rev=814410&view=rev
Log:
fix QueryValueSource.equals()

Modified:
    lucene/solr/trunk/src/java/org/apache/solr/search/function/QueryValueSource.java

Modified: lucene/solr/trunk/src/java/org/apache/solr/search/function/QueryValueSource.java
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/src/java/org/apache/solr/search/function/QueryValueSource.java?rev=814410&r1=814409&r2=814410&view=diff
==============================================================================
--- lucene/solr/trunk/src/java/org/apache/solr/search/function/QueryValueSource.java (original)
+++ lucene/solr/trunk/src/java/org/apache/solr/search/function/QueryValueSource.java Sun Sep
13 22:35:00 2009
@@ -56,7 +56,7 @@
   public boolean equals(Object o) {
     if (QueryValueSource.class != o.getClass()) return false;
     QueryValueSource other = (QueryValueSource)o;
-    return  this.q.equals(other.q);
+    return this.q.equals(other.q) && this.defVal==other.defVal;
   }
 }
 



Mime
View raw message