jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject svn commit: r1150759 - /jackrabbit/sandbox/microkernel/src/main/java/org/apache/jackrabbit/mk/MicroKernelImpl.java
Date Mon, 25 Jul 2011 15:54:40 GMT
Author: stefan
Date: Mon Jul 25 15:54:39 2011
New Revision: 1150759

URL: http://svn.apache.org/viewvc?rev=1150759&view=rev
Log:
minor improvements (WIP)...

Modified:
    jackrabbit/sandbox/microkernel/src/main/java/org/apache/jackrabbit/mk/MicroKernelImpl.java

Modified: jackrabbit/sandbox/microkernel/src/main/java/org/apache/jackrabbit/mk/MicroKernelImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/microkernel/src/main/java/org/apache/jackrabbit/mk/MicroKernelImpl.java?rev=1150759&r1=1150758&r2=1150759&view=diff
==============================================================================
--- jackrabbit/sandbox/microkernel/src/main/java/org/apache/jackrabbit/mk/MicroKernelImpl.java
(original)
+++ jackrabbit/sandbox/microkernel/src/main/java/org/apache/jackrabbit/mk/MicroKernelImpl.java
Mon Jul 25 15:54:39 2011
@@ -216,12 +216,7 @@ public class MicroKernelImpl implements 
         if (rep == null) {
             throw new IllegalStateException("this instance has already been disposed");
         }
-
-        try {
-            return rep.nodeExists(revisionId, path);
-        } catch (Exception e) {
-            return false;
-        }
+        return rep.nodeExists(revisionId, path);
     }
 
     public String getNodes(String path, String revisionId) throws MicroKernelException {



Mime
View raw message