Fix issue with Jackrabbit container
authorMathieu Baudier <mbaudier@argeo.org>
Mon, 10 Dec 2012 15:38:57 +0000 (15:38 +0000)
committerMathieu Baudier <mbaudier@argeo.org>
Mon, 10 Dec 2012 15:38:57 +0000 (15:38 +0000)
git-svn-id: https://svn.argeo.org/commons/trunk@5944 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc

server/runtime/org.argeo.server.jackrabbit/src/main/java/org/argeo/jackrabbit/JackrabbitWrapper.java

index 4807f0951d574375bcdb142552907261678f9c0e..7ed7737f8ca8806fa0296eef64f7c8d49206419a 100644 (file)
@@ -193,7 +193,7 @@ public class JackrabbitWrapper extends JcrRepositoryWrapper implements
                        // actually imports the CND
                        CndImporter.registerNodeTypes(reader, session, true);
 
-                       if (dataModel != null & !dataModel.isNodeType(NodeType.NT_FILE)) {
+                       if (dataModel != null && !dataModel.isNodeType(NodeType.NT_FILE)) {
                                dataModel.remove();
                                dataModel = null;
                        }