jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mreut...@apache.org
Subject svn commit: r479587 - /jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/query/xpath/XPathQueryBuilder.java
Date Mon, 27 Nov 2006 11:06:19 GMT
Author: mreutegg
Date: Mon Nov 27 03:06:13 2006
New Revision: 479587

URL: http://svn.apache.org/viewvc?view=rev&rev=479587
Log:
JCR-646: Misleading exception message for jcr:deref()

Modified:
    jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/query/xpath/XPathQueryBuilder.java

Modified: jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/query/xpath/XPathQueryBuilder.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/query/xpath/XPathQueryBuilder.java?view=diff&rev=479587&r1=479586&r2=479587
==============================================================================
--- jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/query/xpath/XPathQueryBuilder.java
(original)
+++ jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/query/xpath/XPathQueryBuilder.java
Mon Nov 27 03:06:13 2006
@@ -870,7 +870,7 @@
                                 derefNode.setNameTest(name);
                             }
                         } else {
-                            exceptions.add(new InvalidQueryException("Wrong second argument
type for jcr:like"));
+                            exceptions.add(new InvalidQueryException("Second argument for
jcr:deref must be a String"));
                         }
 
                         // check if descendant



Mime
View raw message