summaryrefslogtreecommitdiffstats
path: root/java/sca/modules/binding-jsonp-runtime
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2009-06-16 21:31:56 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2009-06-16 21:31:56 +0000
commit5b0e4ad69e00424ddc5fb4f520a3f4db8a12c23c (patch)
treec8ee2ccc13aefec5aa3f1d1f1b4e78f1b82ad33a /java/sca/modules/binding-jsonp-runtime
parentd8ac1c1173b3d7a377e3d0c1ce0fe47e2815a175 (diff)
Remove unused class
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@785416 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca/modules/binding-jsonp-runtime')
-rw-r--r--java/sca/modules/binding-jsonp-runtime/src/test/java/test/Foo.java51
1 files changed, 0 insertions, 51 deletions
diff --git a/java/sca/modules/binding-jsonp-runtime/src/test/java/test/Foo.java b/java/sca/modules/binding-jsonp-runtime/src/test/java/test/Foo.java
deleted file mode 100644
index b3bd70ff09..0000000000
--- a/java/sca/modules/binding-jsonp-runtime/src/test/java/test/Foo.java
+++ /dev/null
@@ -1,51 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package test;
-
-import java.io.ByteArrayOutputStream;
-import java.io.IOException;
-
-import org.codehaus.jackson.JsonParseException;
-import org.codehaus.jackson.map.JsonMappingException;
-import org.codehaus.jackson.map.ObjectMapper;
-
-public class Foo {
-
- public static void main(String[] args) throws JsonParseException, JsonMappingException, IOException {
-
- String jsonRequest = "{}";
-
- ObjectMapper mapper = new ObjectMapper();
-
- Object[] x = new Object[] { "ant" };
-
- ByteArrayOutputStream os = new ByteArrayOutputStream();
- mapper.writeValue(os , x);
- jsonRequest = os.toString();
-
- System.out.println(jsonRequest);
-
- Class c = new Object[0].getClass();
- Object oo = mapper.readValue(jsonRequest, c);
-
- System.out.println(oo);
-
- }
-}