Author: lresende
Date: Fri Oct  2 16:48:52 2009
New Revision: 821094

URL: http://svn.apache.org/viewvc?rev=821094&view=rev
Log:
Formatting JSONRPC test artifacts

Modified:
    
tuscany/java/sca/modules/binding-jsonrpc-runtime/src/test/java/echo/Echo.java
    
tuscany/java/sca/modules/binding-jsonrpc-runtime/src/test/java/echo/EchoBusinessException.java
    
tuscany/java/sca/modules/binding-jsonrpc-runtime/src/test/java/echo/EchoComponentImpl.java

Modified: 
tuscany/java/sca/modules/binding-jsonrpc-runtime/src/test/java/echo/Echo.java
URL: 
http://svn.apache.org/viewvc/tuscany/java/sca/modules/binding-jsonrpc-runtime/src/test/java/echo/Echo.java?rev=821094&r1=821093&r2=821094&view=diff
==============================================================================
--- 
tuscany/java/sca/modules/binding-jsonrpc-runtime/src/test/java/echo/Echo.java 
(original)
+++ 
tuscany/java/sca/modules/binding-jsonrpc-runtime/src/test/java/echo/Echo.java 
Fri Oct  2 16:48:52 2009
@@ -36,29 +36,29 @@
  */
 @Remotable
 public interface Echo {
-    
+
     String echo(String msg);
-    
+
     void echoRuntimeException() throws RuntimeException;
-    
+
     void echoBusinessException() throws EchoBusinessException;
-    
+
     int echoInt(int param);
-    
+
     boolean echoBoolean(boolean param);
-    
+
     Map echoMap(HashMap map);
-    
+
     TestBean echoBean(TestBean testBean);
-    
+
     List echoList(ArrayList list);
-    
+
     String [] echoArrayString(String[] stringArray);
-    
+
     int [] echoArrayInt(int[] intArray);
-    
+
     Set echoSet(HashSet set);
-    
+
     void get\u03a9\u03bb\u03c0();
-    
+
 }

Modified: 
tuscany/java/sca/modules/binding-jsonrpc-runtime/src/test/java/echo/EchoBusinessException.java
URL: 
http://svn.apache.org/viewvc/tuscany/java/sca/modules/binding-jsonrpc-runtime/src/test/java/echo/EchoBusinessException.java?rev=821094&r1=821093&r2=821094&view=diff
==============================================================================
--- 
tuscany/java/sca/modules/binding-jsonrpc-runtime/src/test/java/echo/EchoBusinessException.java
 (original)
+++ 
tuscany/java/sca/modules/binding-jsonrpc-runtime/src/test/java/echo/EchoBusinessException.java
 Fri Oct  2 16:48:52 2009
@@ -22,8 +22,8 @@
     private static final long serialVersionUID = 7234119326657905710L;
 
     public EchoBusinessException(String message)
-       {
-               super(message);
-       }
+    {
+        super(message);
+    }
 
 }

Modified: 
tuscany/java/sca/modules/binding-jsonrpc-runtime/src/test/java/echo/EchoComponentImpl.java
URL: 
http://svn.apache.org/viewvc/tuscany/java/sca/modules/binding-jsonrpc-runtime/src/test/java/echo/EchoComponentImpl.java?rev=821094&r1=821093&r2=821094&view=diff
==============================================================================
--- 
tuscany/java/sca/modules/binding-jsonrpc-runtime/src/test/java/echo/EchoComponentImpl.java
 (original)
+++ 
tuscany/java/sca/modules/binding-jsonrpc-runtime/src/test/java/echo/EchoComponentImpl.java
 Fri Oct  2 16:48:52 2009
@@ -40,64 +40,64 @@
         return "echo: " + msg;
     }
 
-       public void echoBusinessException() throws EchoBusinessException {
-               throw new EchoBusinessException("Business Exception");
-               
-       }
-
-       public void echoRuntimeException() throws RuntimeException {
-               throw new RuntimeException("Runtime Exception");
-       }
-       
-       public int echoInt(int param) {
-               int value = param;
-               return value;
-       }
-       
-       public boolean echoBoolean(boolean param) {
-               boolean value = param;
-               return value;
-       }
-       
-       public Map echoMap(HashMap param) {
-               Map map = new HashMap();
-               map = param;
-               return map;
-       }
-       
-       public TestBean echoBean(TestBean testBean1) {
-               TestBean testBean = new TestBean();
-               testBean.setTestString(testBean1.getTestString());
-               testBean.setTestInt(testBean1.getTestInt());
-               return testBean;
-       }
-       
-       public List echoList(ArrayList param){
-               List list = new ArrayList();
-               for(Iterator itr = param.iterator();itr.hasNext();)
-               {
-                       list.add(itr.next());
-               }
-               return list;
-       }
-       
-       public String[] echoArrayString(String[] stringArray) {
-               return stringArray;
-       }
-       
-       public int[] echoArrayInt(int[] intArray) {
-               return intArray;
-       }
-       
-       public Set echoSet(HashSet param){
-               Set set = new HashSet();
-               set  = param;
-               return set;
-               
-       }
-       
+    public void echoBusinessException() throws EchoBusinessException {
+        throw new EchoBusinessException("Business Exception");
 
-        public void get\u03a9\u03bb\u03c0() {
+    }
+
+    public void echoRuntimeException() throws RuntimeException {
+        throw new RuntimeException("Runtime Exception");
+    }
+
+    public int echoInt(int param) {
+        int value = param;
+        return value;
+    }
+
+    public boolean echoBoolean(boolean param) {
+        boolean value = param;
+        return value;
+    }
+
+    public Map echoMap(HashMap param) {
+        Map map = new HashMap();
+        map = param;
+        return map;
+    }
 
+    public TestBean echoBean(TestBean testBean1) {
+        TestBean testBean = new TestBean();
+        testBean.setTestString(testBean1.getTestString());
+        testBean.setTestInt(testBean1.getTestInt());
+        return testBean;
+    }
+
+    public List echoList(ArrayList param){
+        List list = new ArrayList();
+        for(Iterator itr = param.iterator();itr.hasNext();)
+        {
+            list.add(itr.next());
         }
+        return list;
+    }
+
+    public String[] echoArrayString(String[] stringArray) {
+        return stringArray;
+    }
+
+    public int[] echoArrayInt(int[] intArray) {
+        return intArray;
+    }
+
+    public Set echoSet(HashSet param){
+        Set set = new HashSet();
+        set  = param;
+        return set;
+
+    }
+
+
+    public void get\u03a9\u03bb\u03c0() {
+
+    }
 }


Reply via email to