jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mreut...@apache.org
Subject svn commit: r832676 - /jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/query/qom/DefaultTraversingQOMTreeVisitor.java
Date Wed, 04 Nov 2009 08:21:54 GMT
Author: mreutegg
Date: Wed Nov  4 08:21:54 2009
New Revision: 832676

URL: http://svn.apache.org/viewvc?rev=832676&view=rev
Log:
JCR-2379: BindVariable not registered in JCR-SQL2 CONTAINS

Modified:
    jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/query/qom/DefaultTraversingQOMTreeVisitor.java

Modified: jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/query/qom/DefaultTraversingQOMTreeVisitor.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/query/qom/DefaultTraversingQOMTreeVisitor.java?rev=832676&r1=832675&r2=832676&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/query/qom/DefaultTraversingQOMTreeVisitor.java
(original)
+++ jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/query/qom/DefaultTraversingQOMTreeVisitor.java
Wed Nov  4 08:21:54 2009
@@ -41,6 +41,14 @@
     }
 
     /**
+     * Calls accept on the static operand in the fulltext search constraint.
+     */
+    public Object visit(FullTextSearchImpl node, Object data) throws Exception {
+        ((StaticOperandImpl) node.getFullTextSearchExpression()).accept(this, data);
+        return data;
+    }
+
+    /**
      * Calls accept on the two sources and the join condition in the join node.
      */
     public Object visit(JoinImpl node, Object data) throws Exception {



Mime
View raw message