lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From markrmil...@apache.org
Subject svn commit: r819255 - /lucene/solr/trunk/src/java/org/apache/solr/search/function/ReverseOrdFieldSource.java
Date Sun, 27 Sep 2009 04:43:27 GMT
Author: markrmiller
Date: Sun Sep 27 04:43:26 2009
New Revision: 819255

URL: http://svn.apache.org/viewvc?rev=819255&view=rev
Log:
fix bug in equals method

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

Modified: lucene/solr/trunk/src/java/org/apache/solr/search/function/ReverseOrdFieldSource.java
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/src/java/org/apache/solr/search/function/ReverseOrdFieldSource.java?rev=819255&r1=819254&r2=819255&view=diff
==============================================================================
--- lucene/solr/trunk/src/java/org/apache/solr/search/function/ReverseOrdFieldSource.java
(original)
+++ lucene/solr/trunk/src/java/org/apache/solr/search/function/ReverseOrdFieldSource.java
Sun Sep 27 04:43:26 2009
@@ -89,7 +89,7 @@
   public boolean equals(Object o) {
     if (o.getClass() !=  ReverseOrdFieldSource.class) return false;
     ReverseOrdFieldSource other = (ReverseOrdFieldSource)o;
-    return this.field.equals(field);
+    return this.field.equals(other.field);
   }
 
   private static final int hcode = ReverseOrdFieldSource.class.hashCode();



Mime
View raw message