lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From busc...@apache.org
Subject svn commit: r806456 - /lucene/java/trunk/contrib/queryparser/src/java/org/apache/lucene/queryParser/standard/processors/MultiTermRewriteMethodProcessor.java
Date Fri, 21 Aug 2009 08:36:31 GMT
Author: buschmi
Date: Fri Aug 21 08:36:31 2009
New Revision: 806456

URL: http://svn.apache.org/viewvc?rev=806456&view=rev
Log:
Fix if clause in MultiTermRewriteMethodProcessor

Modified:
    lucene/java/trunk/contrib/queryparser/src/java/org/apache/lucene/queryParser/standard/processors/MultiTermRewriteMethodProcessor.java

Modified: lucene/java/trunk/contrib/queryparser/src/java/org/apache/lucene/queryParser/standard/processors/MultiTermRewriteMethodProcessor.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/contrib/queryparser/src/java/org/apache/lucene/queryParser/standard/processors/MultiTermRewriteMethodProcessor.java?rev=806456&r1=806455&r2=806456&view=diff
==============================================================================
--- lucene/java/trunk/contrib/queryparser/src/java/org/apache/lucene/queryParser/standard/processors/MultiTermRewriteMethodProcessor.java
(original)
+++ lucene/java/trunk/contrib/queryparser/src/java/org/apache/lucene/queryParser/standard/processors/MultiTermRewriteMethodProcessor.java
Fri Aug 21 08:36:31 2009
@@ -37,8 +37,7 @@
   protected QueryNode postProcessNode(QueryNode node) {
     
     // set setMultiTermRewriteMethod for WildcardQueryNode and PrefixWildcardQueryNode
-    if (node instanceof WildcardQueryNode || node instanceof  ParametricRangeQueryNode
-        || node instanceof ParametricRangeQueryNode) {
+    if (node instanceof WildcardQueryNode || node instanceof  ParametricRangeQueryNode) {
       
       if (!getQueryConfigHandler().hasAttribute(MultiTermRewriteMethodAttribute.class)) {
         // This should not happen, this attribute is created in the StandardQueryConfigHandler



Mime
View raw message