jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1211973 - /jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi2microkernel/src/test/java/org/apache/jackrabbit/spi2microkernel/MicrokernelTest.java
Date Thu, 08 Dec 2011 16:52:54 GMT
Author: mduerig
Date: Thu Dec  8 16:52:54 2011
New Revision: 1211973

URL: http://svn.apache.org/viewvc?rev=1211973&view=rev
Log:
Microkernel based Jackrabbit prototype (WIP)
- add @Override
- remove method which only calls super

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=1211973&r1=1211972&r2=1211973&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
Thu Dec  8 16:52:54 2011
@@ -66,21 +66,19 @@ public class MicrokernelTest {
         final List<String> names = new ArrayList<String>();
         new JsonParser(new JsonHandler() {
 
+            @Override
             public void atom(Token key, Token value) {
                 if (key.text().charAt(0) != ':') {
                     names.add(key.text());
                 }
             }
 
+            @Override
             public void object(JsonParser parser, Token key, JsonTokenizer tokenizer) {
                 super.object(parser, key, tokenizer);
                 names.add(key.text());
             }
 
-            public void array(JsonParser parser, Token key, JsonTokenizer tokenizer) {
-                super.array(parser, key, tokenizer);
-                // don't care
-            }
         }).parseObject(new DefaultJsonTokenizer(result));
 
         if (!names.isEmpty()) {



Mime
View raw message