jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1212333 - /jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi2microkernel/src/test/java/org/apache/jackrabbit/spi2microkernel/MicrokernelTest.java
Date Fri, 09 Dec 2011 11:16:05 GMT
Author: mduerig
Date: Fri Dec  9 11:16:04 2011
New Revision: 1212333

URL: http://svn.apache.org/viewvc?rev=1212333&view=rev
Log:
Microkernel based Jackrabbit prototype (WIP)
skip nested objects when collecting key for deletion

Modified:
    jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi2microkernel/src/test/java/org/apache/jackrabbit/spi2microkernel/MicrokernelTest.java

Modified: jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi2microkernel/src/test/java/org/apache/jackrabbit/spi2microkernel/MicrokernelTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi2microkernel/src/test/java/org/apache/jackrabbit/spi2microkernel/MicrokernelTest.java?rev=1212333&r1=1212332&r2=1212333&view=diff
==============================================================================
--- jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi2microkernel/src/test/java/org/apache/jackrabbit/spi2microkernel/MicrokernelTest.java
(original)
+++ jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi2microkernel/src/test/java/org/apache/jackrabbit/spi2microkernel/MicrokernelTest.java
Fri Dec  9 11:16:04 2011
@@ -75,7 +75,8 @@ public class MicrokernelTest {
 
             @Override
             public void object(JsonParser parser, Token key, JsonTokenizer tokenizer) {
-                super.object(parser, key, tokenizer);
+                // Skip over child objects, we are only interested in top level keys
+                new JsonParser(new JsonHandler()).parseObject(tokenizer);
                 names.add(key.text());
             }
 



Mime
View raw message