Return-Path: X-Original-To: apmail-jackrabbit-oak-commits-archive@minotaur.apache.org Delivered-To: apmail-jackrabbit-oak-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 23986C75F for ; Wed, 9 May 2012 09:45:44 +0000 (UTC) Received: (qmail 44551 invoked by uid 500); 9 May 2012 09:45:44 -0000 Delivered-To: apmail-jackrabbit-oak-commits-archive@jackrabbit.apache.org Received: (qmail 44508 invoked by uid 500); 9 May 2012 09:45:43 -0000 Mailing-List: contact oak-commits-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: oak-commits@jackrabbit.apache.org Delivered-To: mailing list oak-commits@jackrabbit.apache.org Received: (qmail 44482 invoked by uid 99); 9 May 2012 09:45:42 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 May 2012 09:45:42 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 May 2012 09:45:40 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id C98F62388962; Wed, 9 May 2012 09:45:17 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 -0000 To: oak-commits@jackrabbit.apache.org From: mduerig@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20120509094517.C98F62388962@eris.apache.org> 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 @@ test - com.googlecode.json-simple - json-simple - 1.1 - test - - com.h2database h2 1.3.158 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();