jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r770695 - /jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/query/qom/ComparisonImpl.java
Date Fri, 01 May 2009 14:44:05 GMT
Author: jukka
Date: Fri May  1 14:44:04 2009
New Revision: 770695

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

Make the Operator instance available to query execution

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

Modified: jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/query/qom/ComparisonImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/query/qom/ComparisonImpl.java?rev=770695&r1=770694&r2=770695&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/query/qom/ComparisonImpl.java
(original)
+++ jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/query/qom/ComparisonImpl.java
Fri May  1 14:44:04 2009
@@ -53,6 +53,12 @@
         this.operand2 = operand2;
     }
 
+    public Operator getOperatorInstance() {
+        return operator;
+    }
+
+    //----------------------------------------------------------< Comparison >
+
     /**
      * Gets the first operand.
      *



Mime
View raw message