jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r470268 - /jackrabbit/trunk/contrib/spi/jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/query/QueryImpl.java
Date Thu, 02 Nov 2006 08:10:38 GMT
Author: angela
Date: Thu Nov  2 00:10:37 2006
New Revision: 470268

URL: http://svn.apache.org/viewvc?view=rev&rev=470268
Log:
work in progress

- don't check for existing items inside Query.storeAsNode -> leave check to the addNode
call, that performs additional validation anyway

Modified:
    jackrabbit/trunk/contrib/spi/jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/query/QueryImpl.java

Modified: jackrabbit/trunk/contrib/spi/jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/query/QueryImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/contrib/spi/jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/query/QueryImpl.java?view=diff&rev=470268&r1=470267&r2=470268
==============================================================================
--- jackrabbit/trunk/contrib/spi/jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/query/QueryImpl.java
(original)
+++ jackrabbit/trunk/contrib/spi/jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/query/QueryImpl.java
Thu Nov  2 00:10:37 2006
@@ -196,9 +196,6 @@
             if (!p.isAbsolute()) {
                 throw new RepositoryException(absPath + " is not an absolute path");
             }
-            if (session.itemExists(absPath)) {
-                throw new ItemExistsException(absPath);
-            }
             String jcrParent = PathFormat.format(p.getAncestor(1), nsResolver);
             if (!session.itemExists(jcrParent)) {
                 throw new PathNotFoundException(jcrParent);



Mime
View raw message