jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1336035 - in /jackrabbit/oak/trunk/oak-core: pom.xml src/test/java/org/apache/jackrabbit/mk/HelloWorld.java
Date Wed, 09 May 2012 09:45:17 GMT
Author: mduerig
Date: Wed May  9 09:45:17 2012
New Revision: 1336035

URL: http://svn.apache.org/viewvc?rev=1336035&view=rev
Log:
OAK-19: Consolidate JSON utilities
- remove dependency to the Google json parser from oak-core

Modified:
    jackrabbit/oak/trunk/oak-core/pom.xml
    jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/mk/HelloWorld.java

Modified: jackrabbit/oak/trunk/oak-core/pom.xml
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/pom.xml?rev=1336035&r1=1336034&r2=1336035&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/pom.xml (original)
+++ jackrabbit/oak/trunk/oak-core/pom.xml Wed May  9 09:45:17 2012
@@ -137,12 +137,6 @@
       <scope>test</scope>
     </dependency>
     <dependency>
-      <groupId>com.googlecode.json-simple</groupId>
-      <artifactId>json-simple</artifactId>
-      <version>1.1</version>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
       <groupId>com.h2database</groupId>
       <artifactId>h2</artifactId>
       <version>1.3.158</version>

Modified: jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/mk/HelloWorld.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/mk/HelloWorld.java?rev=1336035&r1=1336034&r2=1336035&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/mk/HelloWorld.java (original)
+++ jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/mk/HelloWorld.java Wed
May  9 09:45:17 2012
@@ -17,7 +17,6 @@
 package org.apache.jackrabbit.mk;
 
 import org.apache.jackrabbit.mk.api.MicroKernel;
-import org.json.simple.parser.ParseException;
 
 /**
  * A simple hello world app.
@@ -27,13 +26,13 @@ public class HelloWorld {
     private HelloWorld() {
     }
 
-    public static void main(String... args) throws ParseException {
+    public static void main(String... args) {
         test("fs:{homeDir};clean");
         test("simple:");
         test("simple:fs:target/temp;clean");
     }
 
-    private static void test(String url) throws ParseException {
+    private static void test(String url) {
         MicroKernel mk = MicroKernelFactory.getInstance(url);
         System.out.println(url);
         String head = mk.getHeadRevision();



Mime
View raw message