jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mreut...@apache.org
Subject svn commit: r531160 - /jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/NotQuery.java
Date Sun, 22 Apr 2007 09:41:06 GMT
Author: mreutegg
Date: Sun Apr 22 02:41:05 2007
New Revision: 531160

URL: http://svn.apache.org/viewvc?view=rev&rev=531160
Log:
JCR-858: NotQuery does not implement extractTerms()

Modified:
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/NotQuery.java

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/NotQuery.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/NotQuery.java?view=diff&rev=531160&r1=531159&r2=531160
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/NotQuery.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/NotQuery.java
Sun Apr 22 02:41:05 2007
@@ -25,6 +25,7 @@
 import org.apache.lucene.search.Weight;
 
 import java.io.IOException;
+import java.util.Set;
 
 /**
  * Implements a query that negates documents of a context query. Documents
@@ -64,6 +65,13 @@
      */
     public String toString(String field) {
         return "NotQuery";
+    }
+
+    /**
+     * {@inheritDoc}
+     */
+    public void extractTerms(Set terms) {
+        context.extractTerms(terms);
     }
 
     /**



Mime
View raw message