lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yo...@apache.org
Subject svn commit: r359079 - /lucene/java/trunk/src/java/org/apache/lucene/search/regex/SpanRegexQuery.java
Date Mon, 26 Dec 2005 17:20:07 GMT
Author: yonik
Date: Mon Dec 26 09:20:02 2005
New Revision: 359079

URL: http://svn.apache.org/viewcvs?rev=359079&view=rev
Log:
fix equals() typo

Modified:
    lucene/java/trunk/src/java/org/apache/lucene/search/regex/SpanRegexQuery.java

Modified: lucene/java/trunk/src/java/org/apache/lucene/search/regex/SpanRegexQuery.java
URL: http://svn.apache.org/viewcvs/lucene/java/trunk/src/java/org/apache/lucene/search/regex/SpanRegexQuery.java?rev=359079&r1=359078&r2=359079&view=diff
==============================================================================
--- lucene/java/trunk/src/java/org/apache/lucene/search/regex/SpanRegexQuery.java (original)
+++ lucene/java/trunk/src/java/org/apache/lucene/search/regex/SpanRegexQuery.java Mon Dec
26 09:20:02 2005
@@ -65,7 +65,7 @@
 
   public boolean equals(Object o) {
     if (this == o) return true;
-    if (!(o instanceof TermQuery)) return false;
+    if (!(o instanceof SpanRegexQuery)) return false;
     final SpanRegexQuery that = (SpanRegexQuery) o;
     return term.equals(that.term) && getBoost() == that.getBoost();
   }



Mime
View raw message