jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject svn commit: r1138432 - /jackrabbit/sandbox/microkernel/src/main/java/org/apache/jackrabbit/mk/store/NodeUtils.java
Date Wed, 22 Jun 2011 12:31:34 GMT
Author: stefan
Date: Wed Jun 22 12:31:34 2011
New Revision: 1138432

URL: http://svn.apache.org/viewvc?rev=1138432&view=rev
Log:
MicroKernel prototype (WIP)

fixed NPE in getJournal

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

Modified: jackrabbit/sandbox/microkernel/src/main/java/org/apache/jackrabbit/mk/store/NodeUtils.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/microkernel/src/main/java/org/apache/jackrabbit/mk/store/NodeUtils.java?rev=1138432&r1=1138431&r2=1138432&view=diff
==============================================================================
--- jackrabbit/sandbox/microkernel/src/main/java/org/apache/jackrabbit/mk/store/NodeUtils.java
(original)
+++ jackrabbit/sandbox/microkernel/src/main/java/org/apache/jackrabbit/mk/store/NodeUtils.java
Wed Jun 22 12:31:34 2011
@@ -92,7 +92,7 @@ public class NodeUtils {
             }
             for (Map.Entry<String, String> entry : oldEntries.entrySet()) {
                 String id = newEntries.get(entry.getKey());
-                if (!entry.getValue().equals(id)) {
+                if (id != null && !entry.getValue().equals(id)) {
                     handler.childNodeChanged(path, entry.getKey(), entry.getValue(), id);
                     if (deep && store != null) {
                         node1 = store.getNode(entry.getValue());



Mime
View raw message