jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r770671 - /jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/query/qom/Operator.java
Date Fri, 01 May 2009 13:30:17 GMT
Author: jukka
Date: Fri May  1 13:30:17 2009
New Revision: 770671

URL: http://svn.apache.org/viewvc?rev=770671&view=rev
Log:
JCR-2094: Use an enumeration for QOM operators

Oops, fix argument type

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

Modified: jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/query/qom/Operator.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/query/qom/Operator.java?rev=770671&r1=770670&r2=770671&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/query/qom/Operator.java
(original)
+++ jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/query/qom/Operator.java
Fri May  1 13:30:17 2009
@@ -21,6 +21,7 @@
 import javax.jcr.query.qom.DynamicOperand;
 import javax.jcr.query.qom.QueryObjectModelConstants;
 import javax.jcr.query.qom.QueryObjectModelFactory;
+import javax.jcr.query.qom.StaticOperand;
 
 /**
  * Enumeration of the JCR 2.0 query operators.
@@ -81,7 +82,7 @@
      */
     public Comparison comparison(
             QueryObjectModelFactory factory,
-            DynamicOperand left, StaticOperandImpl right)
+            DynamicOperand left, StaticOperand right)
             throws RepositoryException {
         return factory.comparison(left, name, right);
     }



Mime
View raw message