jackrabbit-commits mailing list archives

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

URL: http://svn.apache.org/viewvc?rev=1211974&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/RepositoryTest.java

Modified: jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi2microkernel/src/test/java/org/apache/jackrabbit/spi2microkernel/RepositoryTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi2microkernel/src/test/java/org/apache/jackrabbit/spi2microkernel/RepositoryTest.java?rev=1211974&r1=1211973&r2=1211974&view=diff
==============================================================================
--- jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi2microkernel/src/test/java/org/apache/jackrabbit/spi2microkernel/RepositoryTest.java
(original)
+++ jackrabbit/sandbox/jackrabbit-mk/jackrabbit-spi2microkernel/src/test/java/org/apache/jackrabbit/spi2microkernel/RepositoryTest.java
Thu Dec  8 16:54:09 2011
@@ -115,21 +115,18 @@ public class RepositoryTest {
             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