jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r1377698 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/kernel/KernelNodeState.java
Date Mon, 27 Aug 2012 14:42:02 GMT
Author: jukka
Date: Mon Aug 27 14:42:01 2012
New Revision: 1377698

URL: http://svn.apache.org/viewvc?rev=1377698&view=rev
Log:
OAK-167: Caching NodeStore implementation

Better handling of multivalued properties

Modified:
    jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/kernel/KernelNodeState.java

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/kernel/KernelNodeState.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/kernel/KernelNodeState.java?rev=1377698&r1=1377697&r2=1377698&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/kernel/KernelNodeState.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/kernel/KernelNodeState.java
Mon Aug 27 14:42:01 2012
@@ -278,9 +278,13 @@ public final class KernelNodeState exten
                     if (reader.matches('{')) {
                         reader.read('}');
                         String childPath = getChildPath(name);
-                        NodeState child =
-                                new KernelNodeState(kernel, childPath, revision);
+                        NodeState child = new KernelNodeState(
+                                kernel, childPath, revision);
                         entries.add(new MemoryChildNodeEntry(name, child));
+                    } else if (reader.matches('[')) {
+                        while (reader.read() != ']') {
+                            // skip
+                        }
                     } else {
                         reader.read();
                     }



Mime
View raw message