tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jsdelf...@apache.org
Subject svn commit: r567526 - in /incubator/tuscany/java/sca/samples: binding-echo-extension/src/test/java/echo/ binding-echo2-extension/src/test/java/echo2/ binding-notification-producer/src/test/java/notification/producer/ calculator-rmi-reference/src/test/j...
Date Mon, 20 Aug 2007 02:35:34 GMT
Author: jsdelfino
Date: Sun Aug 19 19:35:32 2007
New Revision: 567526

URL: http://svn.apache.org/viewvc?rev=567526&view=rev
Log:
Minor code cleanup, fixed warnings, removed unused imports, variables and dead code, added
missing annotations.

Modified:
    incubator/tuscany/java/sca/samples/binding-echo-extension/src/test/java/echo/EchoReferenceTestCase.java
    incubator/tuscany/java/sca/samples/binding-echo-extension/src/test/java/echo/EchoServiceTestCase.java
    incubator/tuscany/java/sca/samples/binding-echo2-extension/src/test/java/echo2/EchoReferenceTestCase.java
    incubator/tuscany/java/sca/samples/binding-echo2-extension/src/test/java/echo2/EchoServiceTestCase.java
    incubator/tuscany/java/sca/samples/binding-notification-producer/src/test/java/notification/producer/TrafficAdvisoryTestCase.java
    incubator/tuscany/java/sca/samples/calculator-rmi-reference/src/test/java/calculator/CalculatorRMIReferenceTestCase.java
    incubator/tuscany/java/sca/samples/calculator-rmi-service/src/test/java/calculator/CalculatorRMIServerTestCase.java
    incubator/tuscany/java/sca/samples/calculator-script/src/test/java/calculator/CalculatorTestCase.java
    incubator/tuscany/java/sca/samples/calculator-webapp/src/test/java/calculator/CalculatorTestCase.java
    incubator/tuscany/java/sca/samples/calculator/src/test/java/calculator/CalculatorTestCase.java
    incubator/tuscany/java/sca/samples/company-das-webapp/src/main/java/das/DASServiceException.java
    incubator/tuscany/java/sca/samples/company-das/src/main/java/das/DASServiceException.java
    incubator/tuscany/java/sca/samples/company-das/src/test/java/das/DASServiceTestCase.java
    incubator/tuscany/java/sca/samples/databinding-echo/src/main/java/dbecho/ComponentAImpl.java
    incubator/tuscany/java/sca/samples/feed-aggregator/src/main/java/feed/AggregatorImpl.java
    incubator/tuscany/java/sca/samples/helloworld-ws-sdo-webapp/src/main/webapp/HelloWorld.jsp
    incubator/tuscany/java/sca/samples/helloworld-ws-sdo-webapp/src/test/java/helloworld/HelloWorldTestCase.java
    incubator/tuscany/java/sca/samples/implementation-composite/src/test/java/composite/CompositeTestCase.java
    incubator/tuscany/java/sca/samples/implementation-crud-extension/src/test/java/crud/CRUDTestCase.java
    incubator/tuscany/java/sca/samples/implementation-crud2-extension/src/test/java/crud2/CRUDTestCase.java
    incubator/tuscany/java/sca/samples/implementation-notification/src/test/java/notification/TrafficAdvisoryTestCase.java
    incubator/tuscany/java/sca/samples/loanapplication/src/main/java/loanapplication/LoanApplication.java
    incubator/tuscany/java/sca/samples/loanapplication/src/test/java/loanapplication/LoanApplicationTestCase.java
    incubator/tuscany/java/sca/samples/osgi-supplychain/src/test/java/supplychain/SupplyChainClientTestCase.java
    incubator/tuscany/java/sca/samples/simple-bigbank-spring/src/main/java/bigbank/account/AccountReport.java
    incubator/tuscany/java/sca/samples/simple-bigbank-spring/src/test/java/bigbank/BigBankTestCase.java
    incubator/tuscany/java/sca/samples/simple-bigbank/src/main/java/bigbank/account/AccountReport.java
    incubator/tuscany/java/sca/samples/simple-bigbank/src/test/java/bigbank/BigBankTestCase.java
    incubator/tuscany/java/sca/samples/simple-callback-ws/src/main/java/simplecallback/MyServiceCallback.java
    incubator/tuscany/java/sca/samples/simple-callback-ws/src/test/java/simplecallback/SimpleCallbackTestCase.java
    incubator/tuscany/java/sca/samples/simple-callback/src/test/java/simplecallback/SimpleCallbackTestCase.java
    incubator/tuscany/java/sca/samples/supplychain/src/test/java/supplychain/SupplyChainClientTestCase.java

Modified: incubator/tuscany/java/sca/samples/binding-echo-extension/src/test/java/echo/EchoReferenceTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/binding-echo-extension/src/test/java/echo/EchoReferenceTestCase.java?rev=567526&r1=567525&r2=567526&view=diff
==============================================================================
--- incubator/tuscany/java/sca/samples/binding-echo-extension/src/test/java/echo/EchoReferenceTestCase.java
(original)
+++ incubator/tuscany/java/sca/samples/binding-echo-extension/src/test/java/echo/EchoReferenceTestCase.java
Sun Aug 19 19:35:32 2007
@@ -30,11 +30,13 @@
     private SCADomain scaDomain;
     private Echo service;
 
+    @Override
     protected void setUp() throws Exception {
         scaDomain = SCADomain.newInstance("EchoBinding.composite");
         service = scaDomain.getService(Echo.class, "EchoComponent");
     }
     
+    @Override
     protected void tearDown() throws Exception {
         scaDomain.close();
     }

Modified: incubator/tuscany/java/sca/samples/binding-echo-extension/src/test/java/echo/EchoServiceTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/binding-echo-extension/src/test/java/echo/EchoServiceTestCase.java?rev=567526&r1=567525&r2=567526&view=diff
==============================================================================
--- incubator/tuscany/java/sca/samples/binding-echo-extension/src/test/java/echo/EchoServiceTestCase.java
(original)
+++ incubator/tuscany/java/sca/samples/binding-echo-extension/src/test/java/echo/EchoServiceTestCase.java
Sun Aug 19 19:35:32 2007
@@ -31,10 +31,12 @@
 
     private SCADomain scaDomain;
 
+    @Override
     protected void setUp() throws Exception {
         scaDomain = SCADomain.newInstance("EchoBinding.composite");
     }
     
+    @Override
     protected void tearDown() throws Exception {
         scaDomain.close();
     }

Modified: incubator/tuscany/java/sca/samples/binding-echo2-extension/src/test/java/echo2/EchoReferenceTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/binding-echo2-extension/src/test/java/echo2/EchoReferenceTestCase.java?rev=567526&r1=567525&r2=567526&view=diff
==============================================================================
--- incubator/tuscany/java/sca/samples/binding-echo2-extension/src/test/java/echo2/EchoReferenceTestCase.java
(original)
+++ incubator/tuscany/java/sca/samples/binding-echo2-extension/src/test/java/echo2/EchoReferenceTestCase.java
Sun Aug 19 19:35:32 2007
@@ -30,11 +30,13 @@
     private SCADomain scaDomain;
     private Echo service;
 
+    @Override
     protected void setUp() throws Exception {
         scaDomain = SCADomain.newInstance("EchoBinding.composite");
         service = scaDomain.getService(Echo.class, "EchoComponent");
     }
     
+    @Override
     protected void tearDown() throws Exception {
         scaDomain.close();
     }

Modified: incubator/tuscany/java/sca/samples/binding-echo2-extension/src/test/java/echo2/EchoServiceTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/binding-echo2-extension/src/test/java/echo2/EchoServiceTestCase.java?rev=567526&r1=567525&r2=567526&view=diff
==============================================================================
--- incubator/tuscany/java/sca/samples/binding-echo2-extension/src/test/java/echo2/EchoServiceTestCase.java
(original)
+++ incubator/tuscany/java/sca/samples/binding-echo2-extension/src/test/java/echo2/EchoServiceTestCase.java
Sun Aug 19 19:35:32 2007
@@ -31,10 +31,12 @@
 
     private SCADomain scaDomain;
 
+    @Override
     protected void setUp() throws Exception {
         scaDomain = SCADomain.newInstance("EchoBinding.composite");
     }
     
+    @Override
     protected void tearDown() throws Exception {
         scaDomain.close();
     }

Modified: incubator/tuscany/java/sca/samples/binding-notification-producer/src/test/java/notification/producer/TrafficAdvisoryTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/binding-notification-producer/src/test/java/notification/producer/TrafficAdvisoryTestCase.java?rev=567526&r1=567525&r2=567526&view=diff
==============================================================================
--- incubator/tuscany/java/sca/samples/binding-notification-producer/src/test/java/notification/producer/TrafficAdvisoryTestCase.java
(original)
+++ incubator/tuscany/java/sca/samples/binding-notification-producer/src/test/java/notification/producer/TrafficAdvisoryTestCase.java
Sun Aug 19 19:35:32 2007
@@ -15,6 +15,7 @@
         System.out.println("Only instantiating and closing domain ...");
     }
 
+    @Override
     protected void setUp() throws Exception {
         try {
             domain = SCADomain.newInstance("TrafficAdvisoryNotification.composite");
@@ -30,6 +31,7 @@
         }
     }
     
+    @Override
     protected void tearDown() throws Exception {
         domain.close();
     }

Modified: incubator/tuscany/java/sca/samples/calculator-rmi-reference/src/test/java/calculator/CalculatorRMIReferenceTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/calculator-rmi-reference/src/test/java/calculator/CalculatorRMIReferenceTestCase.java?rev=567526&r1=567525&r2=567526&view=diff
==============================================================================
--- incubator/tuscany/java/sca/samples/calculator-rmi-reference/src/test/java/calculator/CalculatorRMIReferenceTestCase.java
(original)
+++ incubator/tuscany/java/sca/samples/calculator-rmi-reference/src/test/java/calculator/CalculatorRMIReferenceTestCase.java
Sun Aug 19 19:35:32 2007
@@ -34,6 +34,7 @@
     private SCADomain scaDomain;
     private CalculatorService calculatorService;
 
+    @Override
     protected void setUp() throws Exception {
         CalculatorRMIServiceImpl rmiCalculatorImpl = new CalculatorRMIServiceImpl();
         Registry rmiRegistry = LocateRegistry.createRegistry(8099);
@@ -43,6 +44,7 @@
         calculatorService = scaDomain.getService(CalculatorService.class, "CalculatorServiceComponent");
     }
     
+    @Override
     protected void tearDown() throws Exception {
         scaDomain.close();
         LocateRegistry.getRegistry(8099).unbind("CalculatorRMIService");

Modified: incubator/tuscany/java/sca/samples/calculator-rmi-service/src/test/java/calculator/CalculatorRMIServerTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/calculator-rmi-service/src/test/java/calculator/CalculatorRMIServerTestCase.java?rev=567526&r1=567525&r2=567526&view=diff
==============================================================================
--- incubator/tuscany/java/sca/samples/calculator-rmi-service/src/test/java/calculator/CalculatorRMIServerTestCase.java
(original)
+++ incubator/tuscany/java/sca/samples/calculator-rmi-service/src/test/java/calculator/CalculatorRMIServerTestCase.java
Sun Aug 19 19:35:32 2007
@@ -32,10 +32,12 @@
     private SCADomain scaDomain;
     private CalculatorService calculatorService;
 
+    @Override
     protected void setUp() throws Exception {
         scaDomain = SCADomain.newInstance("CalculatorRMIServer.composite");
     }
     
+    @Override
     protected void tearDown() throws Exception {
         scaDomain.close();
     }

Modified: incubator/tuscany/java/sca/samples/calculator-script/src/test/java/calculator/CalculatorTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/calculator-script/src/test/java/calculator/CalculatorTestCase.java?rev=567526&r1=567525&r2=567526&view=diff
==============================================================================
--- incubator/tuscany/java/sca/samples/calculator-script/src/test/java/calculator/CalculatorTestCase.java
(original)
+++ incubator/tuscany/java/sca/samples/calculator-script/src/test/java/calculator/CalculatorTestCase.java
Sun Aug 19 19:35:32 2007
@@ -30,11 +30,13 @@
     private SCADomain scaDomain;
     private CalculatorService calculatorService;
 
+    @Override
     protected void setUp() throws Exception {
         scaDomain = SCADomain.newInstance("Calculator.composite");
         calculatorService = scaDomain.getService(CalculatorService.class, "CalculatorServiceComponent");
     }
 
+    @Override
     protected void tearDown() throws Exception {
         scaDomain.close();
     }

Modified: incubator/tuscany/java/sca/samples/calculator-webapp/src/test/java/calculator/CalculatorTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/calculator-webapp/src/test/java/calculator/CalculatorTestCase.java?rev=567526&r1=567525&r2=567526&view=diff
==============================================================================
--- incubator/tuscany/java/sca/samples/calculator-webapp/src/test/java/calculator/CalculatorTestCase.java
(original)
+++ incubator/tuscany/java/sca/samples/calculator-webapp/src/test/java/calculator/CalculatorTestCase.java
Sun Aug 19 19:35:32 2007
@@ -30,11 +30,13 @@
     private SCADomain scaDomain;
     private CalculatorService calculatorService;
 
+    @Override
     protected void setUp() throws Exception {
         scaDomain = SCADomain.newInstance("Calculator.composite");
         calculatorService = scaDomain.getService(CalculatorService.class, "CalculatorServiceComponent");
     }
     
+    @Override
     protected void tearDown() throws Exception {
         scaDomain.close();
     }

Modified: incubator/tuscany/java/sca/samples/calculator/src/test/java/calculator/CalculatorTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/calculator/src/test/java/calculator/CalculatorTestCase.java?rev=567526&r1=567525&r2=567526&view=diff
==============================================================================
--- incubator/tuscany/java/sca/samples/calculator/src/test/java/calculator/CalculatorTestCase.java
(original)
+++ incubator/tuscany/java/sca/samples/calculator/src/test/java/calculator/CalculatorTestCase.java
Sun Aug 19 19:35:32 2007
@@ -30,11 +30,13 @@
     private CalculatorService calculatorService;
     private SCADomain scaDomain;
 
+    @Override
     protected void setUp() throws Exception {
         scaDomain = SCADomain.newInstance("Calculator.composite");
         calculatorService = scaDomain.getService(CalculatorService.class, "CalculatorServiceComponent");
     }
 
+    @Override
     protected void tearDown() throws Exception {
         scaDomain.close();
     }

Modified: incubator/tuscany/java/sca/samples/company-das-webapp/src/main/java/das/DASServiceException.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/company-das-webapp/src/main/java/das/DASServiceException.java?rev=567526&r1=567525&r2=567526&view=diff
==============================================================================
--- incubator/tuscany/java/sca/samples/company-das-webapp/src/main/java/das/DASServiceException.java
(original)
+++ incubator/tuscany/java/sca/samples/company-das-webapp/src/main/java/das/DASServiceException.java
Sun Aug 19 19:35:32 2007
@@ -34,7 +34,4 @@
         super(msg, ex);
     }
 
-    public void printStackTrace() {
-        printStackTrace(System.err);
-    }
 }

Modified: incubator/tuscany/java/sca/samples/company-das/src/main/java/das/DASServiceException.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/company-das/src/main/java/das/DASServiceException.java?rev=567526&r1=567525&r2=567526&view=diff
==============================================================================
--- incubator/tuscany/java/sca/samples/company-das/src/main/java/das/DASServiceException.java
(original)
+++ incubator/tuscany/java/sca/samples/company-das/src/main/java/das/DASServiceException.java
Sun Aug 19 19:35:32 2007
@@ -34,7 +34,4 @@
         super(msg, ex);
     }
 
-    public void printStackTrace() {
-        printStackTrace(System.err);
-    }
 }

Modified: incubator/tuscany/java/sca/samples/company-das/src/test/java/das/DASServiceTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/company-das/src/test/java/das/DASServiceTestCase.java?rev=567526&r1=567525&r2=567526&view=diff
==============================================================================
--- incubator/tuscany/java/sca/samples/company-das/src/test/java/das/DASServiceTestCase.java
(original)
+++ incubator/tuscany/java/sca/samples/company-das/src/test/java/das/DASServiceTestCase.java
Sun Aug 19 19:35:32 2007
@@ -31,11 +31,13 @@
     SCADomain scaDomain;
     private DASService dasService;
     
+    @Override
     protected void setUp() throws Exception {
         scaDomain = SCADomain.newInstance("dasservice.composite");
         dasService = scaDomain.getService(DASService.class, "DASServiceComponent");
     }
     
+    @Override
     protected void tearDown() throws Exception {
         scaDomain.close();
     }

Modified: incubator/tuscany/java/sca/samples/databinding-echo/src/main/java/dbecho/ComponentAImpl.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/databinding-echo/src/main/java/dbecho/ComponentAImpl.java?rev=567526&r1=567525&r2=567526&view=diff
==============================================================================
--- incubator/tuscany/java/sca/samples/databinding-echo/src/main/java/dbecho/ComponentAImpl.java
(original)
+++ incubator/tuscany/java/sca/samples/databinding-echo/src/main/java/dbecho/ComponentAImpl.java
Sun Aug 19 19:35:32 2007
@@ -25,18 +25,10 @@
 /**
  * @version $Rev$ $Date$
  */
-@SuppressWarnings("unused")
 public class ComponentAImpl implements Interface1 {
 
     private Interface1 componentBReference;
     
-    @SuppressWarnings("unused")
-    private String prefix;
-    
-    private String prefix1;
-    
-    private String bar;
-    
     @Constructor
     public ComponentAImpl(@Reference(name = "componentBReference", required = true)
     Interface1 componentBReference) {
@@ -64,13 +56,11 @@
     @Property(name="prefix")
     public void setPrefix(String prefix) {
         System.out.println("[Property] prefix: " + prefix);
-        this.prefix = prefix;
     }
 
     @Property(name="prefix1")
     public void setPrefix1(String prefix1) {
         System.out.println("[Property] prefix1: " + prefix1);
-        this.prefix1 = prefix1;
     }  
     
     /**
@@ -79,7 +69,6 @@
     @Property(name="bar")
     public void setBar(String bar) {
         System.out.println("[Property] bar: " + bar);
-        this.bar = bar;
     }
 
 }

Modified: incubator/tuscany/java/sca/samples/feed-aggregator/src/main/java/feed/AggregatorImpl.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/feed-aggregator/src/main/java/feed/AggregatorImpl.java?rev=567526&r1=567525&r2=567526&view=diff
==============================================================================
--- incubator/tuscany/java/sca/samples/feed-aggregator/src/main/java/feed/AggregatorImpl.java
(original)
+++ incubator/tuscany/java/sca/samples/feed-aggregator/src/main/java/feed/AggregatorImpl.java
Sun Aug 19 19:35:32 2007
@@ -18,7 +18,6 @@
  */
 package feed;
 
-import java.io.InputStream;
 import java.util.ArrayList;
 import java.util.Collections;
 import java.util.List;

Modified: incubator/tuscany/java/sca/samples/helloworld-ws-sdo-webapp/src/main/webapp/HelloWorld.jsp
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/helloworld-ws-sdo-webapp/src/main/webapp/HelloWorld.jsp?rev=567526&r1=567525&r2=567526&view=diff
==============================================================================
--- incubator/tuscany/java/sca/samples/helloworld-ws-sdo-webapp/src/main/webapp/HelloWorld.jsp
(original)
+++ incubator/tuscany/java/sca/samples/helloworld-ws-sdo-webapp/src/main/webapp/HelloWorld.jsp
Sun Aug 19 19:35:32 2007
@@ -18,10 +18,10 @@
 --%>
 
 <%@ page import="org.apache.tuscany.sca.host.embedded.SCADomain"%>
-<%@ page import="helloworld.HelloWorld" %>
-<%@ page import="helloworld.HelloworldFactory"%>
-<%@ page import="helloworld.Party"%>
-<%@ page import="helloworld.Person"%>
+<%@ page import="org.apache.tuscany.test.contribution.HelloWorld" %>
+<%@ page import="org.apache.tuscany.test.contribution.HelloworldFactory"%>
+<%@ page import="org.apache.tuscany.test.contribution.Party"%>
+<%@ page import="org.apache.tuscany.test.contribution.Person"%>
 
 <%@ page contentType="text/html;charset=UTF-8" language="java" %>
 <%

Modified: incubator/tuscany/java/sca/samples/helloworld-ws-sdo-webapp/src/test/java/helloworld/HelloWorldTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/helloworld-ws-sdo-webapp/src/test/java/helloworld/HelloWorldTestCase.java?rev=567526&r1=567525&r2=567526&view=diff
==============================================================================
--- incubator/tuscany/java/sca/samples/helloworld-ws-sdo-webapp/src/test/java/helloworld/HelloWorldTestCase.java
(original)
+++ incubator/tuscany/java/sca/samples/helloworld-ws-sdo-webapp/src/test/java/helloworld/HelloWorldTestCase.java
Sun Aug 19 19:35:32 2007
@@ -30,11 +30,13 @@
     private SCADomain scaDomain;
     private HelloWorld helloWorld;
     
+    @Override
     protected void setUp() throws Exception {
         scaDomain = SCADomain.newInstance("helloworldws.composite");
         helloWorld = scaDomain.getService(HelloWorld.class, "HelloWorldImpl");
     }
 
+    @Override
     protected void tearDown() throws Exception {
         scaDomain.close();
     }

Modified: incubator/tuscany/java/sca/samples/implementation-composite/src/test/java/composite/CompositeTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/implementation-composite/src/test/java/composite/CompositeTestCase.java?rev=567526&r1=567525&r2=567526&view=diff
==============================================================================
--- incubator/tuscany/java/sca/samples/implementation-composite/src/test/java/composite/CompositeTestCase.java
(original)
+++ incubator/tuscany/java/sca/samples/implementation-composite/src/test/java/composite/CompositeTestCase.java
Sun Aug 19 19:35:32 2007
@@ -27,11 +27,13 @@
     private SCADomain scaDomain;
     private Source source;
 
+    @Override
     protected void setUp() throws Exception {
         scaDomain = SCADomain.newInstance();
         source = scaDomain.getService(Source.class, "SourceComponent");
     }
     
+    @Override
     protected void tearDown() throws Exception {
         scaDomain.close();
     }

Modified: incubator/tuscany/java/sca/samples/implementation-crud-extension/src/test/java/crud/CRUDTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/implementation-crud-extension/src/test/java/crud/CRUDTestCase.java?rev=567526&r1=567525&r2=567526&view=diff
==============================================================================
--- incubator/tuscany/java/sca/samples/implementation-crud-extension/src/test/java/crud/CRUDTestCase.java
(original)
+++ incubator/tuscany/java/sca/samples/implementation-crud-extension/src/test/java/crud/CRUDTestCase.java
Sun Aug 19 19:35:32 2007
@@ -34,6 +34,7 @@
     /**
      * @throws java.lang.Exception
      */
+    @Override
     protected void setUp() throws Exception {
         scaDomain = SCADomain.newInstance("crud.composite");
         crudService = scaDomain.getService(CRUD.class, "CRUDServiceComponent");
@@ -43,6 +44,7 @@
     /**
      * @throws java.lang.Exception
      */
+    @Override
     protected void tearDown() throws Exception {
         scaDomain.close();
     }

Modified: incubator/tuscany/java/sca/samples/implementation-crud2-extension/src/test/java/crud2/CRUDTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/implementation-crud2-extension/src/test/java/crud2/CRUDTestCase.java?rev=567526&r1=567525&r2=567526&view=diff
==============================================================================
--- incubator/tuscany/java/sca/samples/implementation-crud2-extension/src/test/java/crud2/CRUDTestCase.java
(original)
+++ incubator/tuscany/java/sca/samples/implementation-crud2-extension/src/test/java/crud2/CRUDTestCase.java
Sun Aug 19 19:35:32 2007
@@ -36,6 +36,7 @@
     /**
      * @throws java.lang.Exception
      */
+    @Override
     protected void setUp() throws Exception {
         scaDomain = SCADomain.newInstance("crud2.composite");
         crudService = scaDomain.getService(CRUD.class, "CRUDServiceComponent");
@@ -45,6 +46,7 @@
     /**
      * @throws java.lang.Exception
      */
+    @Override
     protected void tearDown() throws Exception {
         scaDomain.close();
     }

Modified: incubator/tuscany/java/sca/samples/implementation-notification/src/test/java/notification/TrafficAdvisoryTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/implementation-notification/src/test/java/notification/TrafficAdvisoryTestCase.java?rev=567526&r1=567525&r2=567526&view=diff
==============================================================================
--- incubator/tuscany/java/sca/samples/implementation-notification/src/test/java/notification/TrafficAdvisoryTestCase.java
(original)
+++ incubator/tuscany/java/sca/samples/implementation-notification/src/test/java/notification/TrafficAdvisoryTestCase.java
Sun Aug 19 19:35:32 2007
@@ -37,6 +37,7 @@
         }
     }
 
+    @Override
     protected void setUp() throws Exception {
         try {
             domain = SCADomain.newInstance("TrafficAdvisoryNotification.composite");
@@ -52,6 +53,7 @@
         }
     }
     
+    @Override
     protected void tearDown() throws Exception {
         domain.close();
     }

Modified: incubator/tuscany/java/sca/samples/loanapplication/src/main/java/loanapplication/LoanApplication.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/loanapplication/src/main/java/loanapplication/LoanApplication.java?rev=567526&r1=567525&r2=567526&view=diff
==============================================================================
--- incubator/tuscany/java/sca/samples/loanapplication/src/main/java/loanapplication/LoanApplication.java
(original)
+++ incubator/tuscany/java/sca/samples/loanapplication/src/main/java/loanapplication/LoanApplication.java
Sun Aug 19 19:35:32 2007
@@ -28,6 +28,7 @@
         this.loanAmount = loanAmount;
     }
     
+    @Override
     public String toString() {
         return "[Customer: " + customerName + ", loan amount: "
             + loanAmount + "]";

Modified: incubator/tuscany/java/sca/samples/loanapplication/src/test/java/loanapplication/LoanApplicationTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/loanapplication/src/test/java/loanapplication/LoanApplicationTestCase.java?rev=567526&r1=567525&r2=567526&view=diff
==============================================================================
--- incubator/tuscany/java/sca/samples/loanapplication/src/test/java/loanapplication/LoanApplicationTestCase.java
(original)
+++ incubator/tuscany/java/sca/samples/loanapplication/src/test/java/loanapplication/LoanApplicationTestCase.java
Sun Aug 19 19:35:32 2007
@@ -27,12 +27,14 @@
     private LoanClient loanClient;
     private SCADomain domain;
 
+    @Override
     protected void setUp() throws Exception {
         domain = SCADomain.newInstance("loanapplication.composite");
 
         loanClient = domain.getService(LoanClient.class, "LoanClientComponent");
     }
     
+    @Override
     protected void tearDown() throws Exception {
     	domain.close();
     }

Modified: incubator/tuscany/java/sca/samples/osgi-supplychain/src/test/java/supplychain/SupplyChainClientTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/osgi-supplychain/src/test/java/supplychain/SupplyChainClientTestCase.java?rev=567526&r1=567525&r2=567526&view=diff
==============================================================================
--- incubator/tuscany/java/sca/samples/osgi-supplychain/src/test/java/supplychain/SupplyChainClientTestCase.java
(original)
+++ incubator/tuscany/java/sca/samples/osgi-supplychain/src/test/java/supplychain/SupplyChainClientTestCase.java
Sun Aug 19 19:35:32 2007
@@ -34,11 +34,13 @@
 	private SCADomain scaDomain;
     private Customer customer;
 
+    @Override
     protected void setUp() throws Exception {
         scaDomain = SCADomain.newInstance("supplychain.composite");
         customer = scaDomain.getService(Customer.class, "CustomerComponent");
     }
     
+    @Override
     protected void tearDown() throws Exception {
         scaDomain.close();
     }

Modified: incubator/tuscany/java/sca/samples/simple-bigbank-spring/src/main/java/bigbank/account/AccountReport.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/simple-bigbank-spring/src/main/java/bigbank/account/AccountReport.java?rev=567526&r1=567525&r2=567526&view=diff
==============================================================================
--- incubator/tuscany/java/sca/samples/simple-bigbank-spring/src/main/java/bigbank/account/AccountReport.java
(original)
+++ incubator/tuscany/java/sca/samples/simple-bigbank-spring/src/main/java/bigbank/account/AccountReport.java
Sun Aug 19 19:35:32 2007
@@ -35,6 +35,7 @@
     
     public String getCurrency() { return currency; }
     
+    @Override
     public String toString() {
         return "currency: "+ currency + ", " + summaries;
     }

Modified: incubator/tuscany/java/sca/samples/simple-bigbank-spring/src/test/java/bigbank/BigBankTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/simple-bigbank-spring/src/test/java/bigbank/BigBankTestCase.java?rev=567526&r1=567525&r2=567526&view=diff
==============================================================================
--- incubator/tuscany/java/sca/samples/simple-bigbank-spring/src/test/java/bigbank/BigBankTestCase.java
(original)
+++ incubator/tuscany/java/sca/samples/simple-bigbank-spring/src/test/java/bigbank/BigBankTestCase.java
Sun Aug 19 19:35:32 2007
@@ -33,11 +33,13 @@
     private SCADomain scaDomain;
     AccountService accountService;
 
+    @Override
     protected void setUp() throws Exception {
         scaDomain = SCADomain.newInstance("BigBank.composite");
         accountService = scaDomain.getService(AccountService.class, "AccountServiceComponent");
     }
     
+    @Override
     protected void tearDown() throws Exception {
         scaDomain.close();
     }

Modified: incubator/tuscany/java/sca/samples/simple-bigbank/src/main/java/bigbank/account/AccountReport.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/simple-bigbank/src/main/java/bigbank/account/AccountReport.java?rev=567526&r1=567525&r2=567526&view=diff
==============================================================================
--- incubator/tuscany/java/sca/samples/simple-bigbank/src/main/java/bigbank/account/AccountReport.java
(original)
+++ incubator/tuscany/java/sca/samples/simple-bigbank/src/main/java/bigbank/account/AccountReport.java
Sun Aug 19 19:35:32 2007
@@ -35,6 +35,7 @@
     
     public String getCurrency() { return currency; }
     
+    @Override
     public String toString() {
         return "currency: "+ currency + ", " + summaries;
     }

Modified: incubator/tuscany/java/sca/samples/simple-bigbank/src/test/java/bigbank/BigBankTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/simple-bigbank/src/test/java/bigbank/BigBankTestCase.java?rev=567526&r1=567525&r2=567526&view=diff
==============================================================================
--- incubator/tuscany/java/sca/samples/simple-bigbank/src/test/java/bigbank/BigBankTestCase.java
(original)
+++ incubator/tuscany/java/sca/samples/simple-bigbank/src/test/java/bigbank/BigBankTestCase.java
Sun Aug 19 19:35:32 2007
@@ -33,11 +33,13 @@
     private SCADomain scaDomain;
     AccountService accountService;
 
+    @Override
     protected void setUp() throws Exception {
         scaDomain = SCADomain.newInstance("BigBank.composite");
         accountService = scaDomain.getService(AccountService.class, "AccountServiceComponent");
     }
     
+    @Override
     protected void tearDown() throws Exception {
         scaDomain.close();
     }

Modified: incubator/tuscany/java/sca/samples/simple-callback-ws/src/main/java/simplecallback/MyServiceCallback.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/simple-callback-ws/src/main/java/simplecallback/MyServiceCallback.java?rev=567526&r1=567525&r2=567526&view=diff
==============================================================================
--- incubator/tuscany/java/sca/samples/simple-callback-ws/src/main/java/simplecallback/MyServiceCallback.java
(original)
+++ incubator/tuscany/java/sca/samples/simple-callback-ws/src/main/java/simplecallback/MyServiceCallback.java
Sun Aug 19 19:35:32 2007
@@ -18,7 +18,6 @@
  */
 package simplecallback;
 
-import org.osoa.sca.annotations.OneWay;
 import org.osoa.sca.annotations.Remotable;
 
 /**

Modified: incubator/tuscany/java/sca/samples/simple-callback-ws/src/test/java/simplecallback/SimpleCallbackTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/simple-callback-ws/src/test/java/simplecallback/SimpleCallbackTestCase.java?rev=567526&r1=567525&r2=567526&view=diff
==============================================================================
--- incubator/tuscany/java/sca/samples/simple-callback-ws/src/test/java/simplecallback/SimpleCallbackTestCase.java
(original)
+++ incubator/tuscany/java/sca/samples/simple-callback-ws/src/test/java/simplecallback/SimpleCallbackTestCase.java
Sun Aug 19 19:35:32 2007
@@ -30,11 +30,13 @@
     private SCADomain scaDomain;
     private MyClient myClient;
 
+    @Override
     protected void setUp() throws Exception {
         scaDomain = SCADomain.newInstance("simplecallback.composite");
         myClient = scaDomain.getService(MyClient.class, "MyClientComponent");
     }
     
+    @Override
     protected void tearDown() throws Exception {
         scaDomain.close();
     }

Modified: incubator/tuscany/java/sca/samples/simple-callback/src/test/java/simplecallback/SimpleCallbackTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/simple-callback/src/test/java/simplecallback/SimpleCallbackTestCase.java?rev=567526&r1=567525&r2=567526&view=diff
==============================================================================
--- incubator/tuscany/java/sca/samples/simple-callback/src/test/java/simplecallback/SimpleCallbackTestCase.java
(original)
+++ incubator/tuscany/java/sca/samples/simple-callback/src/test/java/simplecallback/SimpleCallbackTestCase.java
Sun Aug 19 19:35:32 2007
@@ -30,11 +30,13 @@
     private SCADomain scaDomain;
     private MyClient myClient;
 
+    @Override
     protected void setUp() throws Exception {
         scaDomain = SCADomain.newInstance("simplecallback.composite");
         myClient = scaDomain.getService(MyClient.class, "MyClientComponent");
     }
     
+    @Override
     protected void tearDown() throws Exception {
         scaDomain.close();
     }

Modified: incubator/tuscany/java/sca/samples/supplychain/src/test/java/supplychain/SupplyChainClientTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/supplychain/src/test/java/supplychain/SupplyChainClientTestCase.java?rev=567526&r1=567525&r2=567526&view=diff
==============================================================================
--- incubator/tuscany/java/sca/samples/supplychain/src/test/java/supplychain/SupplyChainClientTestCase.java
(original)
+++ incubator/tuscany/java/sca/samples/supplychain/src/test/java/supplychain/SupplyChainClientTestCase.java
Sun Aug 19 19:35:32 2007
@@ -31,11 +31,13 @@
     private SCADomain scaDomain;
     private Customer customer;
 
+    @Override
     protected void setUp() throws Exception {
         scaDomain = SCADomain.newInstance("supplychain.composite");
         customer = scaDomain.getService(Customer.class, "CustomerComponent");
     }
 
+    @Override
     protected void tearDown() throws Exception {
         scaDomain.close();
     }



---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org


Mime
View raw message