jackrabbit-commits mailing list archives

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

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

Fixed typos

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=770710&r1=770709&r2=770710&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 15:27:38 2009
@@ -146,7 +146,7 @@
     /**
      * Returns the operator with the given JCR name.
      *
-     * @param name JCR name of an a operator
+     * @param name JCR name of an operator
      * @return operator with the given name
      * @throws RepositoryException if the given name is unknown
      */
@@ -157,7 +157,7 @@
                 return operator;
             }
         }
-        throw new RepositoryException("Unknown query name: " + name);
+        throw new RepositoryException("Unknown operator name: " + name);
     }
 
 }



Mime
View raw message