summaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authormcombellack <mcombellack@13f79535-47bb-0310-9956-ffa450edef68>2008-08-13 13:03:50 +0000
committermcombellack <mcombellack@13f79535-47bb-0310-9956-ffa450edef68>2008-08-13 13:03:50 +0000
commitf19b2d3c62e06b95e0681f5d2c3976f99be328cf (patch)
tree518cc3930624da5898aa6d72df316823512c81ba /java
parent9acfee03a24aa52a4aae6bb77a1093c5b9780a9f (diff)
Added missing @Override annotation to methods that override methods from their superclass
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@685532 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java')
-rw-r--r--java/sca/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/impl/ComponentReferenceImpl.java1
-rw-r--r--java/sca/modules/assembly/src/test/java/org/apache/tuscany/sca/assembly/TestBinding.java3
-rw-r--r--java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/enums/_EnumManagerImplBase.java1
-rw-r--r--java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/enums/_EnumManagerStub.java1
-rw-r--r--java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/exceptions/_CalcImplBase.java1
-rw-r--r--java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/exceptions/_CalcStub.java1
-rw-r--r--java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/_ArraysSetterImplBase.java1
-rw-r--r--java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/_ArraysSetterStub.java1
-rw-r--r--java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/_PrimitivesSetterImplBase.java1
-rw-r--r--java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/_PrimitivesSetterStub.java1
-rw-r--r--java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/_RemoteObjectImplBase.java1
-rw-r--r--java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/_RemoteObjectStub.java1
-rw-r--r--java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/_TestObjectImplBase.java1
-rw-r--r--java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/_TestObjectStub.java1
-rw-r--r--java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/references/_DummyObjectImplBase.java1
-rw-r--r--java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/references/_DummyObjectStub.java1
-rw-r--r--java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/references/_ObjectManagerImplBase.java1
-rw-r--r--java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/references/_ObjectManagerStub.java1
-rw-r--r--java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/service/mocks/TestDataType.java1
-rw-r--r--java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/service/mocks/TestInterface.java1
-rw-r--r--java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/service/mocks/TestInterfaceContract.java1
-rw-r--r--java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/service/mocks/TestOperation.java1
-rw-r--r--java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/service/mocks/TestRuntimeComponentService.java1
-rw-r--r--java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/service/mocks/TestRuntimeWire.java1
-rw-r--r--java/sca/modules/binding-ejb/src/main/java/org/apache/tuscany/sca/binding/ejb/impl/EJBBindingImpl.java1
-rw-r--r--java/sca/modules/binding-feed/src/main/java/org/apache/tuscany/sca/binding/feed/impl/RSSBindingImpl.java1
-rw-r--r--java/sca/modules/binding-gdata-runtime-gsoc/src/test/java/org/apache/tuscany/sca/binding/gdata/ConsumerProviderTestCase.java2
-rw-r--r--java/sca/modules/binding-gdata-runtime-gsoc/src/test/java/org/apache/tuscany/sca/binding/gdata/GoogleBloggerServiceTestCase.java2
-rw-r--r--java/sca/modules/binding-gdata-runtime-gsoc/src/test/java/org/apache/tuscany/sca/binding/gdata/GoogleCalendarServiceTestCase.java2
-rw-r--r--java/sca/modules/binding-gdata-runtime-gsoc/src/test/java/org/apache/tuscany/sca/binding/gdata/GoogleContactsServiceTestCase.java2
-rw-r--r--java/sca/modules/binding-gdata/src/main/java/org/apache/tuscany/sca/binding/gdata/impl/GDataBindingImpl.java1
-rw-r--r--java/sca/modules/binding-http/src/main/java/org/apache/tuscany/sca/binding/http/impl/HTTPBindingImpl.java3
-rw-r--r--java/sca/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/provider/ObjectMessageProcessor.java1
-rw-r--r--java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/impl/JMSBinding.java1
-rw-r--r--java/sca/modules/binding-rss/src/main/java/org/apache/tuscany/sca/binding/rss/impl/RSSBindingImpl.java3
-rw-r--r--java/sca/modules/binding-sca/src/main/java/org/apache/tuscany/sca/binding/sca/impl/DistributedSCABindingImpl.java1
-rw-r--r--java/sca/modules/binding-ws-axis2/src/main/java/org/apache/tuscany/sca/binding/ws/axis2/Axis2ServiceServlet.java1
-rw-r--r--java/sca/modules/binding-ws-axis2/src/main/java/org/apache/tuscany/sca/binding/ws/axis2/TuscanyAxisConfigurator.java1
-rw-r--r--java/sca/modules/binding-ws/src/main/java/org/apache/tuscany/sca/binding/ws/impl/WebServiceBindingImpl.java1
-rw-r--r--java/sca/modules/contribution-xml/src/main/java/org/apache/tuscany/sca/contribution/xml/ContributionGeneratedMetadataDocumentProcessor.java3
-rw-r--r--java/sca/modules/contribution/src/main/java/org/apache/tuscany/sca/contribution/processor/DefaultValidatingXMLInputFactory.java24
-rw-r--r--java/sca/modules/core-spring/src/main/java/org/apache/tuscany/sca/core/spring/implementation/java/impl/BeanJavaInterfaceImpl.java17
-rw-r--r--java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/assembly/RuntimeComponentImpl.java3
-rw-r--r--java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/assembly/RuntimeComponentReferenceImpl.java1
-rw-r--r--java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/assembly/RuntimeComponentServiceImpl.java3
-rw-r--r--java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/context/ServiceReferenceImpl.java1
-rw-r--r--java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/invocation/InvocationChainImpl.java1
-rw-r--r--java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/invocation/PhaseManager.java1
-rw-r--r--java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/scope/ConversationalScopeContainer.java2
-rw-r--r--java/sca/modules/core/src/test/java/org/apache/tuscany/sca/core/work/JSR237MyFailingRunnable.java1
-rw-r--r--java/sca/modules/databinding-fastinfoset/src/main/java/org/apache/tuscany/sca/databinding/fastinfoset/FastInfoset2Node.java1
-rw-r--r--java/sca/modules/databinding-fastinfoset/src/main/java/org/apache/tuscany/sca/databinding/fastinfoset/FastInfoset2SAX.java1
-rw-r--r--java/sca/modules/databinding-fastinfoset/src/main/java/org/apache/tuscany/sca/databinding/fastinfoset/FastInfoset2XMLStreamReader.java1
-rw-r--r--java/sca/modules/databinding-fastinfoset/src/main/java/org/apache/tuscany/sca/databinding/fastinfoset/Node2FastInfoset.java1
-rw-r--r--java/sca/modules/databinding-fastinfoset/src/main/java/org/apache/tuscany/sca/databinding/fastinfoset/XMLInputStream2FastInfoset.java1
-rw-r--r--java/sca/modules/databinding-fastinfoset/src/main/java/org/apache/tuscany/sca/databinding/fastinfoset/XMLStreamReader2FastInfoset.java1
-rw-r--r--java/sca/modules/databinding-jaxb/src/main/java/org/apache/tuscany/sca/databinding/jaxb/JAXB2SAX.java1
-rw-r--r--java/sca/modules/databinding-jaxb/src/main/java/org/apache/tuscany/sca/databinding/jaxb/JAXBPropertyDescriptor.java1
-rw-r--r--java/sca/modules/databinding-jaxb/src/test/java/org/apache/tuscany/sca/databinding/jaxb/BeanXMLStreamReaderImpl.java4
-rw-r--r--java/sca/modules/databinding-json/src/main/java/org/apache/tuscany/sca/databinding/json/JSONDataBinding.java1
-rw-r--r--java/sca/modules/databinding/src/main/java/org/apache/tuscany/sca/databinding/DefaultTransformerExtensionPoint.java2
-rw-r--r--java/sca/modules/databinding/src/main/java/org/apache/tuscany/sca/databinding/util/LRUCache.java1
-rw-r--r--java/sca/modules/databinding/src/main/java/org/apache/tuscany/sca/databinding/xml/BeanXMLStreamReaderImpl.java3
-rw-r--r--java/sca/modules/databinding/src/main/java/org/apache/tuscany/sca/databinding/xml/WrappingXMLStreamReader.java3
-rw-r--r--java/sca/modules/databinding/src/main/java/org/apache/tuscany/sca/databinding/xml/XmlNodeIterator.java1
-rw-r--r--java/sca/modules/databinding/src/test/java/org/apache/tuscany/sca/databinding/xml/XmlTreeStreamReaderTestCase.java1
-rw-r--r--java/sca/modules/extensibility-osgi/src/main/java/org/apache/tuscany/sca/extensibility/osgi/OSGiServiceDiscoverer.java1
-rw-r--r--java/sca/modules/extension-helper/src/main/java/org/apache/tuscany/sca/extension/helper/utils/AbstractBinding.java1
-rw-r--r--java/sca/modules/host-corba/src/main/java/org/apache/tuscany/sca/host/corba/CorbanameURL.java1
-rw-r--r--java/sca/modules/host-webapp/src/main/java/org/apache/tuscany/sca/host/webapp/jsp/ReferenceTEI.java1
-rw-r--r--java/sca/modules/host-webapp/src/main/java/org/apache/tuscany/sca/host/webapp/jsp/ReferenceTag.java2
-rw-r--r--java/sca/modules/implementation-bpel-ode/src/main/java/org/apache/tuscany/sca/implementation/bpel/ode/ODEDeployment.java1
-rw-r--r--java/sca/modules/implementation-data-xml/src/main/java/org/apache/tuscany/sca/implementation/data/jdbc/ResultSetXmlNodeImpl.java7
-rw-r--r--java/sca/modules/implementation-widget/src/main/java/org/apache/tuscany/sca/implementation/widget/WidgetImplementation.java3
-rw-r--r--java/sca/modules/interface-java-jaxws/src/main/java/org/apache/tuscany/sca/interfacedef/java/jaxws/GeneratedDataTypeImpl.java1
-rw-r--r--java/sca/modules/interface-java/src/main/java/org/apache/tuscany/sca/interfacedef/java/impl/JavaOperationImpl.java1
-rw-r--r--java/sca/modules/interface-wsdl-xml/src/test/java/org/apache/tuscany/sca/interfacedef/wsdl/xml/WSDLDocumentProcessorTestCase.java2
-rw-r--r--java/sca/modules/interface-wsdl/src/main/java/org/apache/tuscany/sca/interfacedef/wsdl/impl/WSDLOperationImpl.java1
-rw-r--r--java/sca/modules/node2-launcher/src/main/java/org/apache/tuscany/sca/node/launcher/NodeLauncherUtil.java3
-rw-r--r--java/sca/modules/osgi-runtime/src/main/java/org/apache/tuscany/sca/osgi/runtime/EquinoxRuntime.java2
-rw-r--r--java/sca/modules/osgi-runtime/src/main/java/org/apache/tuscany/sca/osgi/runtime/FelixRuntime.java3
-rw-r--r--java/sca/modules/osgi-runtime/src/main/java/org/apache/tuscany/sca/osgi/runtime/KnopflerfishRuntime.java1
-rw-r--r--java/sca/modules/policy-security/src/main/java/org/apache/tuscany/sca/policy/authorization/AuthorizationPolicy.java1
-rw-r--r--java/sca/modules/policy-security/src/main/java/org/apache/tuscany/sca/policy/identity/SecurityIdentityPolicy.java1
-rw-r--r--java/sca/modules/policy/src/main/java/org/apache/tuscany/sca/policy/util/PolicyHandlerTuple.java3
-rw-r--r--java/sca/modules/runtime-tomcat/src/main/java/org/apache/tuscany/sca/runtime/tomcat/TuscanyHost.java3
-rw-r--r--java/sca/modules/runtime-tomcat/src/main/java/org/apache/tuscany/sca/runtime/tomcat/TuscanyWrapper.java2
87 files changed, 160 insertions, 11 deletions
diff --git a/java/sca/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/impl/ComponentReferenceImpl.java b/java/sca/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/impl/ComponentReferenceImpl.java
index ea9f768f4e..488023090c 100644
--- a/java/sca/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/impl/ComponentReferenceImpl.java
+++ b/java/sca/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/impl/ComponentReferenceImpl.java
@@ -95,6 +95,7 @@ public class ComponentReferenceImpl extends ReferenceImpl implements ComponentRe
* Use endpoint information to work out what the interface contract for the
* binding is.
*/
+ @Override
public InterfaceContract getInterfaceContract(Binding binding){
InterfaceContract interfaceContract = null;
diff --git a/java/sca/modules/assembly/src/test/java/org/apache/tuscany/sca/assembly/TestBinding.java b/java/sca/modules/assembly/src/test/java/org/apache/tuscany/sca/assembly/TestBinding.java
index 40d5f4e63f..5e0a2335d1 100644
--- a/java/sca/modules/assembly/src/test/java/org/apache/tuscany/sca/assembly/TestBinding.java
+++ b/java/sca/modules/assembly/src/test/java/org/apache/tuscany/sca/assembly/TestBinding.java
@@ -48,7 +48,8 @@ public class TestBinding implements Binding {
public boolean isUnresolved() {
return false;
}
-
+
+ @Override
public Object clone() throws CloneNotSupportedException {
return super.clone();
}
diff --git a/java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/enums/_EnumManagerImplBase.java b/java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/enums/_EnumManagerImplBase.java
index 0819acf2ce..514627ff4b 100644
--- a/java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/enums/_EnumManagerImplBase.java
+++ b/java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/enums/_EnumManagerImplBase.java
@@ -68,6 +68,7 @@ public abstract class _EnumManagerImplBase extends org.omg.CORBA.portable.Object
// Type-specific CORBA::Object operations
private static String[] __ids = {"IDL:org/apache/tuscany/sca/binding/corba/testing/enums/EnumManager:1.0"};
+ @Override
public String[] _ids() {
return (String[])__ids.clone();
}
diff --git a/java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/enums/_EnumManagerStub.java b/java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/enums/_EnumManagerStub.java
index 88d643fae9..4629ca9cff 100644
--- a/java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/enums/_EnumManagerStub.java
+++ b/java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/enums/_EnumManagerStub.java
@@ -52,6 +52,7 @@ public class _EnumManagerStub extends org.omg.CORBA.portable.ObjectImpl implemen
// Type-specific CORBA::Object operations
private static String[] __ids = {"IDL:org/apache/tuscany/sca/binding/corba/testing/enums/EnumManager:1.0"};
+ @Override
public String[] _ids() {
return (String[])__ids.clone();
}
diff --git a/java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/exceptions/_CalcImplBase.java b/java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/exceptions/_CalcImplBase.java
index 2af9c85d97..a73e252129 100644
--- a/java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/exceptions/_CalcImplBase.java
+++ b/java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/exceptions/_CalcImplBase.java
@@ -94,6 +94,7 @@ public abstract class _CalcImplBase extends org.omg.CORBA.portable.ObjectImpl im
// Type-specific CORBA::Object operations
private static String[] __ids = {"IDL:org/apache/tuscany/sca/binding/corba/testing/exceptions/Calc:1.0"};
+ @Override
public String[] _ids() {
return (String[])__ids.clone();
}
diff --git a/java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/exceptions/_CalcStub.java b/java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/exceptions/_CalcStub.java
index 1682bf4780..65ce051129 100644
--- a/java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/exceptions/_CalcStub.java
+++ b/java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/exceptions/_CalcStub.java
@@ -83,6 +83,7 @@ public class _CalcStub extends org.omg.CORBA.portable.ObjectImpl implements
// Type-specific CORBA::Object operations
private static String[] __ids = {"IDL:org/apache/tuscany/sca/binding/corba/testing/exceptions/Calc:1.0"};
+ @Override
public String[] _ids() {
return (String[])__ids.clone();
}
diff --git a/java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/_ArraysSetterImplBase.java b/java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/_ArraysSetterImplBase.java
index a4b7fcf72f..c6e8c2a4e0 100644
--- a/java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/_ArraysSetterImplBase.java
+++ b/java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/_ArraysSetterImplBase.java
@@ -224,6 +224,7 @@ public abstract class _ArraysSetterImplBase extends org.omg.CORBA.portable.Objec
// Type-specific CORBA::Object operations
private static String[] __ids = {"IDL:org/apache/tuscany/sca/binding/corba/testing/generated/ArraysSetter:1.0"};
+ @Override
public String[] _ids() {
return (String[])__ids.clone();
}
diff --git a/java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/_ArraysSetterStub.java b/java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/_ArraysSetterStub.java
index 5bb715fbe1..079cc6e899 100644
--- a/java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/_ArraysSetterStub.java
+++ b/java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/_ArraysSetterStub.java
@@ -320,6 +320,7 @@ public class _ArraysSetterStub extends org.omg.CORBA.portable.ObjectImpl impleme
// Type-specific CORBA::Object operations
private static String[] __ids = {"IDL:org/apache/tuscany/sca/binding/corba/testing/generated/ArraysSetter:1.0"};
+ @Override
public String[] _ids() {
return (String[])__ids.clone();
}
diff --git a/java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/_PrimitivesSetterImplBase.java b/java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/_PrimitivesSetterImplBase.java
index b5083ecb4a..b444ce68d8 100644
--- a/java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/_PrimitivesSetterImplBase.java
+++ b/java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/_PrimitivesSetterImplBase.java
@@ -222,6 +222,7 @@ public abstract class _PrimitivesSetterImplBase extends org.omg.CORBA.portable.O
// Type-specific CORBA::Object operations
private static String[] __ids = {"IDL:org/apache/tuscany/sca/binding/corba/testing/generated/PrimitivesSetter:1.0"};
+ @Override
public String[] _ids() {
return (String[])__ids.clone();
}
diff --git a/java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/_PrimitivesSetterStub.java b/java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/_PrimitivesSetterStub.java
index ef1ec8c91b..0b08e1fb67 100644
--- a/java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/_PrimitivesSetterStub.java
+++ b/java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/_PrimitivesSetterStub.java
@@ -318,6 +318,7 @@ public class _PrimitivesSetterStub extends org.omg.CORBA.portable.ObjectImpl imp
// Type-specific CORBA::Object operations
private static String[] __ids = {"IDL:org/apache/tuscany/sca/binding/corba/testing/generated/PrimitivesSetter:1.0"};
+ @Override
public String[] _ids() {
return (String[])__ids.clone();
}
diff --git a/java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/_RemoteObjectImplBase.java b/java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/_RemoteObjectImplBase.java
index 50e2078f9c..a87534f88b 100644
--- a/java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/_RemoteObjectImplBase.java
+++ b/java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/_RemoteObjectImplBase.java
@@ -51,6 +51,7 @@ public abstract class _RemoteObjectImplBase extends org.omg.CORBA.portable.Objec
// Type-specific CORBA::Object operations
private static String[] __ids = {"IDL:org/apache/tuscany/sca/binding/corba/testing/generated/RemoteObject:1.0"};
+ @Override
public String[] _ids() {
return (String[])__ids.clone();
}
diff --git a/java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/_RemoteObjectStub.java b/java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/_RemoteObjectStub.java
index 45c5ca3324..e219dfa338 100644
--- a/java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/_RemoteObjectStub.java
+++ b/java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/_RemoteObjectStub.java
@@ -32,6 +32,7 @@ public class _RemoteObjectStub extends org.omg.CORBA.portable.ObjectImpl impleme
// Type-specific CORBA::Object operations
private static String[] __ids = {"IDL:org/apache/tuscany/sca/binding/corba/testing/generated/RemoteObject:1.0"};
+ @Override
public String[] _ids() {
return (String[])__ids.clone();
}
diff --git a/java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/_TestObjectImplBase.java b/java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/_TestObjectImplBase.java
index 25d1fad289..c0bc0d6ebd 100644
--- a/java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/_TestObjectImplBase.java
+++ b/java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/_TestObjectImplBase.java
@@ -141,6 +141,7 @@ public abstract class _TestObjectImplBase extends org.omg.CORBA.portable.ObjectI
// Type-specific CORBA::Object operations
private static String[] __ids = {"IDL:org/apache/tuscany/sca/binding/corba/testing/generated/TestObject:1.0"};
+ @Override
public String[] _ids() {
return (String[])__ids.clone();
}
diff --git a/java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/_TestObjectStub.java b/java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/_TestObjectStub.java
index f325d011de..ad47595ddf 100644
--- a/java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/_TestObjectStub.java
+++ b/java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/generated/_TestObjectStub.java
@@ -159,6 +159,7 @@ public class _TestObjectStub extends org.omg.CORBA.portable.ObjectImpl implement
// Type-specific CORBA::Object operations
private static String[] __ids = {"IDL:org/apache/tuscany/sca/binding/corba/testing/generated/TestObject:1.0"};
+ @Override
public String[] _ids() {
return (String[])__ids.clone();
}
diff --git a/java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/references/_DummyObjectImplBase.java b/java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/references/_DummyObjectImplBase.java
index bc36dd6b12..c706661eaa 100644
--- a/java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/references/_DummyObjectImplBase.java
+++ b/java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/references/_DummyObjectImplBase.java
@@ -76,6 +76,7 @@ public abstract class _DummyObjectImplBase extends org.omg.CORBA.portable.Object
// Type-specific CORBA::Object operations
private static String[] __ids = {"IDL:org/apache/tuscany/sca/binding/corba/testing/references/DummyObject:1.0"};
+ @Override
public String[] _ids() {
return (String[])__ids.clone();
}
diff --git a/java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/references/_DummyObjectStub.java b/java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/references/_DummyObjectStub.java
index 8f2d7b762d..c9a31deb27 100644
--- a/java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/references/_DummyObjectStub.java
+++ b/java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/references/_DummyObjectStub.java
@@ -69,6 +69,7 @@ public class _DummyObjectStub extends org.omg.CORBA.portable.ObjectImpl implemen
// Type-specific CORBA::Object operations
private static String[] __ids = {"IDL:org/apache/tuscany/sca/binding/corba/testing/references/DummyObject:1.0"};
+ @Override
public String[] _ids() {
return (String[])__ids.clone();
}
diff --git a/java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/references/_ObjectManagerImplBase.java b/java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/references/_ObjectManagerImplBase.java
index ecc654697e..a6b55b8bae 100644
--- a/java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/references/_ObjectManagerImplBase.java
+++ b/java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/references/_ObjectManagerImplBase.java
@@ -78,6 +78,7 @@ public abstract class _ObjectManagerImplBase extends org.omg.CORBA.portable.Obje
// Type-specific CORBA::Object operations
private static String[] __ids = {"IDL:org/apache/tuscany/sca/binding/corba/testing/references/ObjectManager:1.0"};
+ @Override
public String[] _ids() {
return (String[])__ids.clone();
}
diff --git a/java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/references/_ObjectManagerStub.java b/java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/references/_ObjectManagerStub.java
index b1c99b015f..e06a078a93 100644
--- a/java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/references/_ObjectManagerStub.java
+++ b/java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/references/_ObjectManagerStub.java
@@ -71,6 +71,7 @@ public class _ObjectManagerStub extends org.omg.CORBA.portable.ObjectImpl implem
// Type-specific CORBA::Object operations
private static String[] __ids = {"IDL:org/apache/tuscany/sca/binding/corba/testing/references/ObjectManager:1.0"};
+ @Override
public String[] _ids() {
return (String[])__ids.clone();
}
diff --git a/java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/service/mocks/TestDataType.java b/java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/service/mocks/TestDataType.java
index c051cae3ff..7ebc3fce85 100644
--- a/java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/service/mocks/TestDataType.java
+++ b/java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/service/mocks/TestDataType.java
@@ -80,6 +80,7 @@ public class TestDataType<L> implements DataType<L> {
}
+ @Override
public Object clone() {
return null;
}
diff --git a/java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/service/mocks/TestInterface.java b/java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/service/mocks/TestInterface.java
index 1fcacca732..2c5a0d8159 100644
--- a/java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/service/mocks/TestInterface.java
+++ b/java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/service/mocks/TestInterface.java
@@ -94,6 +94,7 @@ public class TestInterface implements JavaInterface {
}
+ @Override
public Object clone() {
return null;
}
diff --git a/java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/service/mocks/TestInterfaceContract.java b/java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/service/mocks/TestInterfaceContract.java
index 7108ad194a..d691705955 100644
--- a/java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/service/mocks/TestInterfaceContract.java
+++ b/java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/service/mocks/TestInterfaceContract.java
@@ -50,6 +50,7 @@ public class TestInterfaceContract implements InterfaceContract {
this.iface = callInterface;
}
+ @Override
public Object clone() {
return null;
}
diff --git a/java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/service/mocks/TestOperation.java b/java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/service/mocks/TestOperation.java
index e4b1d601c1..90551ec25d 100644
--- a/java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/service/mocks/TestOperation.java
+++ b/java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/service/mocks/TestOperation.java
@@ -155,6 +155,7 @@ public class TestOperation implements Operation {
return null;
}
+ @Override
public Object clone() {
return null;
}
diff --git a/java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/service/mocks/TestRuntimeComponentService.java b/java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/service/mocks/TestRuntimeComponentService.java
index 6889b4c06c..6fc5f9398e 100644
--- a/java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/service/mocks/TestRuntimeComponentService.java
+++ b/java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/service/mocks/TestRuntimeComponentService.java
@@ -226,6 +226,7 @@ public class TestRuntimeComponentService implements RuntimeComponentService {
return null;
}
+ @Override
public Object clone() {
return null;
}
diff --git a/java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/service/mocks/TestRuntimeWire.java b/java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/service/mocks/TestRuntimeWire.java
index 96130eb793..696705aa74 100644
--- a/java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/service/mocks/TestRuntimeWire.java
+++ b/java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/service/mocks/TestRuntimeWire.java
@@ -92,6 +92,7 @@ public class TestRuntimeWire implements RuntimeWire {
}
+ @Override
public Object clone() {
return null;
}
diff --git a/java/sca/modules/binding-ejb/src/main/java/org/apache/tuscany/sca/binding/ejb/impl/EJBBindingImpl.java b/java/sca/modules/binding-ejb/src/main/java/org/apache/tuscany/sca/binding/ejb/impl/EJBBindingImpl.java
index e601ea28f8..4abed80aa3 100644
--- a/java/sca/modules/binding-ejb/src/main/java/org/apache/tuscany/sca/binding/ejb/impl/EJBBindingImpl.java
+++ b/java/sca/modules/binding-ejb/src/main/java/org/apache/tuscany/sca/binding/ejb/impl/EJBBindingImpl.java
@@ -59,6 +59,7 @@ public class EJBBindingImpl implements EJBBinding {
/**
* Clone the binding
*/
+ @Override
public Object clone() throws CloneNotSupportedException {
return super.clone();
}
diff --git a/java/sca/modules/binding-feed/src/main/java/org/apache/tuscany/sca/binding/feed/impl/RSSBindingImpl.java b/java/sca/modules/binding-feed/src/main/java/org/apache/tuscany/sca/binding/feed/impl/RSSBindingImpl.java
index 5496795c0d..9df2ec60da 100644
--- a/java/sca/modules/binding-feed/src/main/java/org/apache/tuscany/sca/binding/feed/impl/RSSBindingImpl.java
+++ b/java/sca/modules/binding-feed/src/main/java/org/apache/tuscany/sca/binding/feed/impl/RSSBindingImpl.java
@@ -94,6 +94,7 @@ class RSSBindingImpl implements RSSBinding, PolicySetAttachPoint {
this.requiredIntents = intents;
}
+ @Override
public Object clone() throws CloneNotSupportedException {
return super.clone();
}
diff --git a/java/sca/modules/binding-gdata-runtime-gsoc/src/test/java/org/apache/tuscany/sca/binding/gdata/ConsumerProviderTestCase.java b/java/sca/modules/binding-gdata-runtime-gsoc/src/test/java/org/apache/tuscany/sca/binding/gdata/ConsumerProviderTestCase.java
index a5195d803c..3ac79e5f0a 100644
--- a/java/sca/modules/binding-gdata-runtime-gsoc/src/test/java/org/apache/tuscany/sca/binding/gdata/ConsumerProviderTestCase.java
+++ b/java/sca/modules/binding-gdata-runtime-gsoc/src/test/java/org/apache/tuscany/sca/binding/gdata/ConsumerProviderTestCase.java
@@ -35,6 +35,7 @@ public class ConsumerProviderTestCase extends TestCase {
private CustomerClient testService = null;
@Before
+ @Override
public void setUp() throws Exception {
System.out.println("Method Test Start-----------------------------------------------------------------------");
@@ -48,6 +49,7 @@ public class ConsumerProviderTestCase extends TestCase {
}
@After
+ @Override
public void tearDown() {
scaDomainProvider.close();
System.out.println("Method Test End------------------------------------------------------------------------");
diff --git a/java/sca/modules/binding-gdata-runtime-gsoc/src/test/java/org/apache/tuscany/sca/binding/gdata/GoogleBloggerServiceTestCase.java b/java/sca/modules/binding-gdata-runtime-gsoc/src/test/java/org/apache/tuscany/sca/binding/gdata/GoogleBloggerServiceTestCase.java
index 6671124f99..b4f6ec7b36 100644
--- a/java/sca/modules/binding-gdata-runtime-gsoc/src/test/java/org/apache/tuscany/sca/binding/gdata/GoogleBloggerServiceTestCase.java
+++ b/java/sca/modules/binding-gdata-runtime-gsoc/src/test/java/org/apache/tuscany/sca/binding/gdata/GoogleBloggerServiceTestCase.java
@@ -44,6 +44,7 @@ public class GoogleBloggerServiceTestCase extends TestCase{
}
@Before
+ @Override
public void setUp() throws Exception {
System.out.println("Method Test Start-----------------------------------------------------------------------");
@@ -53,6 +54,7 @@ public class GoogleBloggerServiceTestCase extends TestCase{
}
@After
+ @Override
public void tearDown(){
System.out.println("Method Test End------------------------------------------------------------------------");
System.out.println("\n\n");
diff --git a/java/sca/modules/binding-gdata-runtime-gsoc/src/test/java/org/apache/tuscany/sca/binding/gdata/GoogleCalendarServiceTestCase.java b/java/sca/modules/binding-gdata-runtime-gsoc/src/test/java/org/apache/tuscany/sca/binding/gdata/GoogleCalendarServiceTestCase.java
index 4ea314f0df..882716575b 100644
--- a/java/sca/modules/binding-gdata-runtime-gsoc/src/test/java/org/apache/tuscany/sca/binding/gdata/GoogleCalendarServiceTestCase.java
+++ b/java/sca/modules/binding-gdata-runtime-gsoc/src/test/java/org/apache/tuscany/sca/binding/gdata/GoogleCalendarServiceTestCase.java
@@ -44,6 +44,7 @@ public class GoogleCalendarServiceTestCase extends TestCase{
}
@Before
+ @Override
public void setUp() throws Exception {
System.out.println("Method Test Start-----------------------------------------------------------------------");
@@ -53,6 +54,7 @@ public class GoogleCalendarServiceTestCase extends TestCase{
}
@After
+ @Override
public void tearDown(){
System.out.println("Method Test End------------------------------------------------------------------------");
System.out.println("\n\n");
diff --git a/java/sca/modules/binding-gdata-runtime-gsoc/src/test/java/org/apache/tuscany/sca/binding/gdata/GoogleContactsServiceTestCase.java b/java/sca/modules/binding-gdata-runtime-gsoc/src/test/java/org/apache/tuscany/sca/binding/gdata/GoogleContactsServiceTestCase.java
index d374a0adf3..959c153074 100644
--- a/java/sca/modules/binding-gdata-runtime-gsoc/src/test/java/org/apache/tuscany/sca/binding/gdata/GoogleContactsServiceTestCase.java
+++ b/java/sca/modules/binding-gdata-runtime-gsoc/src/test/java/org/apache/tuscany/sca/binding/gdata/GoogleContactsServiceTestCase.java
@@ -44,6 +44,7 @@ public class GoogleContactsServiceTestCase extends TestCase{
}
@Before
+ @Override
public void setUp() throws Exception {
System.out.println("Method Test Start-----------------------------------------------------------------------");
@@ -53,6 +54,7 @@ public class GoogleContactsServiceTestCase extends TestCase{
}
@After
+ @Override
public void tearDown(){
System.out.println("Method Test End------------------------------------------------------------------------");
System.out.println("\n\n");
diff --git a/java/sca/modules/binding-gdata/src/main/java/org/apache/tuscany/sca/binding/gdata/impl/GDataBindingImpl.java b/java/sca/modules/binding-gdata/src/main/java/org/apache/tuscany/sca/binding/gdata/impl/GDataBindingImpl.java
index 1d58552c8f..baba882c4c 100644
--- a/java/sca/modules/binding-gdata/src/main/java/org/apache/tuscany/sca/binding/gdata/impl/GDataBindingImpl.java
+++ b/java/sca/modules/binding-gdata/src/main/java/org/apache/tuscany/sca/binding/gdata/impl/GDataBindingImpl.java
@@ -98,6 +98,7 @@ class GDataBindingImpl implements GDataBinding, PolicySetAttachPoint {
this.intentAttachPointType = intentAttachPointType;
}
+ @Override
public Object clone() throws CloneNotSupportedException {
return super.clone();
}
diff --git a/java/sca/modules/binding-http/src/main/java/org/apache/tuscany/sca/binding/http/impl/HTTPBindingImpl.java b/java/sca/modules/binding-http/src/main/java/org/apache/tuscany/sca/binding/http/impl/HTTPBindingImpl.java
index 36caa9f510..69d2bd7d25 100644
--- a/java/sca/modules/binding-http/src/main/java/org/apache/tuscany/sca/binding/http/impl/HTTPBindingImpl.java
+++ b/java/sca/modules/binding-http/src/main/java/org/apache/tuscany/sca/binding/http/impl/HTTPBindingImpl.java
@@ -60,7 +60,8 @@ class HTTPBindingImpl implements HTTPBinding {
public void setUnresolved(boolean unresolved) {
// The sample binding is always resolved
}
-
+
+ @Override
public Object clone() throws CloneNotSupportedException {
return super.clone();
}
diff --git a/java/sca/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/provider/ObjectMessageProcessor.java b/java/sca/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/provider/ObjectMessageProcessor.java
index bfcc39daaa..e83fad89a4 100644
--- a/java/sca/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/provider/ObjectMessageProcessor.java
+++ b/java/sca/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/provider/ObjectMessageProcessor.java
@@ -50,6 +50,7 @@ public class ObjectMessageProcessor extends AbstractMessageProcessor {
}
}
+ @Override
protected Message createJMSMessage(Session session, Object o) {
try {
diff --git a/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/impl/JMSBinding.java b/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/impl/JMSBinding.java
index b3ca4be92a..7db508dbd2 100644
--- a/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/impl/JMSBinding.java
+++ b/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/impl/JMSBinding.java
@@ -34,6 +34,7 @@ import org.apache.tuscany.sca.assembly.Binding;
public class JMSBinding implements Binding {
+ @Override
public Object clone() throws CloneNotSupportedException {
return super.clone();
}
diff --git a/java/sca/modules/binding-rss/src/main/java/org/apache/tuscany/sca/binding/rss/impl/RSSBindingImpl.java b/java/sca/modules/binding-rss/src/main/java/org/apache/tuscany/sca/binding/rss/impl/RSSBindingImpl.java
index ae9cca1638..6158752e7c 100644
--- a/java/sca/modules/binding-rss/src/main/java/org/apache/tuscany/sca/binding/rss/impl/RSSBindingImpl.java
+++ b/java/sca/modules/binding-rss/src/main/java/org/apache/tuscany/sca/binding/rss/impl/RSSBindingImpl.java
@@ -91,7 +91,8 @@ class RSSBindingImpl implements RSSBinding, PolicySetAttachPoint {
public void setRequiredIntents(List<Intent> intents) {
this.requiredIntents = intents;
}
-
+
+ @Override
public Object clone() throws CloneNotSupportedException {
return super.clone();
}
diff --git a/java/sca/modules/binding-sca/src/main/java/org/apache/tuscany/sca/binding/sca/impl/DistributedSCABindingImpl.java b/java/sca/modules/binding-sca/src/main/java/org/apache/tuscany/sca/binding/sca/impl/DistributedSCABindingImpl.java
index c30d65076a..43b0cd8f4e 100644
--- a/java/sca/modules/binding-sca/src/main/java/org/apache/tuscany/sca/binding/sca/impl/DistributedSCABindingImpl.java
+++ b/java/sca/modules/binding-sca/src/main/java/org/apache/tuscany/sca/binding/sca/impl/DistributedSCABindingImpl.java
@@ -108,6 +108,7 @@ public class DistributedSCABindingImpl implements DistributedSCABinding {
/**
* Clone the binding
*/
+ @Override
public Object clone() throws CloneNotSupportedException {
return super.clone();
}
diff --git a/java/sca/modules/binding-ws-axis2/src/main/java/org/apache/tuscany/sca/binding/ws/axis2/Axis2ServiceServlet.java b/java/sca/modules/binding-ws-axis2/src/main/java/org/apache/tuscany/sca/binding/ws/axis2/Axis2ServiceServlet.java
index 4ef71fafe6..746b850ff0 100644
--- a/java/sca/modules/binding-ws-axis2/src/main/java/org/apache/tuscany/sca/binding/ws/axis2/Axis2ServiceServlet.java
+++ b/java/sca/modules/binding-ws-axis2/src/main/java/org/apache/tuscany/sca/binding/ws/axis2/Axis2ServiceServlet.java
@@ -81,6 +81,7 @@ public class Axis2ServiceServlet extends AxisServlet {
public void init() throws ServletException {
}
+ @Override
public void init(ServletConfig config) throws ServletException {
ServletContext servletContext = config.getServletContext();
servletContext.setAttribute(CONFIGURATION_CONTEXT, tmpconfigContext);
diff --git a/java/sca/modules/binding-ws-axis2/src/main/java/org/apache/tuscany/sca/binding/ws/axis2/TuscanyAxisConfigurator.java b/java/sca/modules/binding-ws-axis2/src/main/java/org/apache/tuscany/sca/binding/ws/axis2/TuscanyAxisConfigurator.java
index 8b3a5122d9..42441f3598 100644
--- a/java/sca/modules/binding-ws-axis2/src/main/java/org/apache/tuscany/sca/binding/ws/axis2/TuscanyAxisConfigurator.java
+++ b/java/sca/modules/binding-ws-axis2/src/main/java/org/apache/tuscany/sca/binding/ws/axis2/TuscanyAxisConfigurator.java
@@ -95,6 +95,7 @@ public class TuscanyAxisConfigurator extends URLBasedAxisConfigurator implements
* as a Maven dependency and has been packed with this module
*/
/************start of fix *********************************************************************/
+ @Override
public AxisConfiguration getAxisConfiguration() throws AxisFault {
InputStream axis2xmlStream;
try {
diff --git a/java/sca/modules/binding-ws/src/main/java/org/apache/tuscany/sca/binding/ws/impl/WebServiceBindingImpl.java b/java/sca/modules/binding-ws/src/main/java/org/apache/tuscany/sca/binding/ws/impl/WebServiceBindingImpl.java
index 26857abe83..d816c2c9c6 100644
--- a/java/sca/modules/binding-ws/src/main/java/org/apache/tuscany/sca/binding/ws/impl/WebServiceBindingImpl.java
+++ b/java/sca/modules/binding-ws/src/main/java/org/apache/tuscany/sca/binding/ws/impl/WebServiceBindingImpl.java
@@ -101,6 +101,7 @@ class WebServiceBindingImpl implements WebServiceBinding, PolicySetAttachPoint,
this.unresolved = unresolved;
}
+ @Override
public Object clone() throws CloneNotSupportedException {
return super.clone();
}
diff --git a/java/sca/modules/contribution-xml/src/main/java/org/apache/tuscany/sca/contribution/xml/ContributionGeneratedMetadataDocumentProcessor.java b/java/sca/modules/contribution-xml/src/main/java/org/apache/tuscany/sca/contribution/xml/ContributionGeneratedMetadataDocumentProcessor.java
index 256d50c191..a4cf1b3566 100644
--- a/java/sca/modules/contribution-xml/src/main/java/org/apache/tuscany/sca/contribution/xml/ContributionGeneratedMetadataDocumentProcessor.java
+++ b/java/sca/modules/contribution-xml/src/main/java/org/apache/tuscany/sca/contribution/xml/ContributionGeneratedMetadataDocumentProcessor.java
@@ -42,7 +42,8 @@ public class ContributionGeneratedMetadataDocumentProcessor extends Contribution
Monitor monitor) {
super(modelFactories, staxProcessor, monitor);
}
-
+
+ @Override
public String getArtifactType() {
return "sca-contribution-generated.xml";
}
diff --git a/java/sca/modules/contribution/src/main/java/org/apache/tuscany/sca/contribution/processor/DefaultValidatingXMLInputFactory.java b/java/sca/modules/contribution/src/main/java/org/apache/tuscany/sca/contribution/processor/DefaultValidatingXMLInputFactory.java
index f237ba69f2..7be5566113 100644
--- a/java/sca/modules/contribution/src/main/java/org/apache/tuscany/sca/contribution/processor/DefaultValidatingXMLInputFactory.java
+++ b/java/sca/modules/contribution/src/main/java/org/apache/tuscany/sca/contribution/processor/DefaultValidatingXMLInputFactory.java
@@ -160,42 +160,52 @@ public class DefaultValidatingXMLInputFactory extends ValidatingXMLInputFactory
}
}
+ @Override
public XMLEventReader createFilteredReader(XMLEventReader arg0, EventFilter arg1) throws XMLStreamException {
return inputFactory.createFilteredReader(arg0, arg1);
}
+ @Override
public XMLStreamReader createFilteredReader(XMLStreamReader arg0, StreamFilter arg1) throws XMLStreamException {
return inputFactory.createFilteredReader(arg0, arg1);
}
+ @Override
public XMLEventReader createXMLEventReader(InputStream arg0, String arg1) throws XMLStreamException {
return inputFactory.createXMLEventReader(arg0, arg1);
}
+ @Override
public XMLEventReader createXMLEventReader(InputStream arg0) throws XMLStreamException {
return inputFactory.createXMLEventReader(arg0);
}
+ @Override
public XMLEventReader createXMLEventReader(Reader arg0) throws XMLStreamException {
return inputFactory.createXMLEventReader(arg0);
}
+ @Override
public XMLEventReader createXMLEventReader(Source arg0) throws XMLStreamException {
return inputFactory.createXMLEventReader(arg0);
}
+ @Override
public XMLEventReader createXMLEventReader(String arg0, InputStream arg1) throws XMLStreamException {
return inputFactory.createXMLEventReader(arg0, arg1);
}
+ @Override
public XMLEventReader createXMLEventReader(String arg0, Reader arg1) throws XMLStreamException {
return inputFactory.createXMLEventReader(arg0, arg1);
}
+ @Override
public XMLEventReader createXMLEventReader(XMLStreamReader arg0) throws XMLStreamException {
return inputFactory.createXMLEventReader(arg0);
}
+ @Override
public XMLStreamReader createXMLStreamReader(InputStream arg0, String arg1) throws XMLStreamException {
initializeSchemas();
if (hasSchemas) {
@@ -205,6 +215,7 @@ public class DefaultValidatingXMLInputFactory extends ValidatingXMLInputFactory
}
}
+ @Override
public XMLStreamReader createXMLStreamReader(InputStream arg0) throws XMLStreamException {
initializeSchemas();
if (hasSchemas) {
@@ -214,6 +225,7 @@ public class DefaultValidatingXMLInputFactory extends ValidatingXMLInputFactory
}
}
+ @Override
public XMLStreamReader createXMLStreamReader(Reader arg0) throws XMLStreamException {
initializeSchemas();
if (hasSchemas) {
@@ -223,6 +235,7 @@ public class DefaultValidatingXMLInputFactory extends ValidatingXMLInputFactory
}
}
+ @Override
public XMLStreamReader createXMLStreamReader(Source arg0) throws XMLStreamException {
initializeSchemas();
if (hasSchemas) {
@@ -232,6 +245,7 @@ public class DefaultValidatingXMLInputFactory extends ValidatingXMLInputFactory
}
}
+ @Override
public XMLStreamReader createXMLStreamReader(String arg0, InputStream arg1) throws XMLStreamException {
initializeSchemas();
if (hasSchemas) {
@@ -241,6 +255,7 @@ public class DefaultValidatingXMLInputFactory extends ValidatingXMLInputFactory
}
}
+ @Override
public XMLStreamReader createXMLStreamReader(String arg0, Reader arg1) throws XMLStreamException {
initializeSchemas();
if (hasSchemas) {
@@ -250,38 +265,47 @@ public class DefaultValidatingXMLInputFactory extends ValidatingXMLInputFactory
}
}
+ @Override
public XMLEventAllocator getEventAllocator() {
return inputFactory.getEventAllocator();
}
+ @Override
public Object getProperty(String arg0) throws IllegalArgumentException {
return inputFactory.getProperty(arg0);
}
+ @Override
public XMLReporter getXMLReporter() {
return inputFactory.getXMLReporter();
}
+ @Override
public XMLResolver getXMLResolver() {
return inputFactory.getXMLResolver();
}
+ @Override
public boolean isPropertySupported(String arg0) {
return inputFactory.isPropertySupported(arg0);
}
+ @Override
public void setEventAllocator(XMLEventAllocator arg0) {
inputFactory.setEventAllocator(arg0);
}
+ @Override
public void setProperty(String arg0, Object arg1) throws IllegalArgumentException {
inputFactory.setProperty(arg0, arg1);
}
+ @Override
public void setXMLReporter(XMLReporter arg0) {
inputFactory.setXMLReporter(arg0);
}
+ @Override
public void setXMLResolver(XMLResolver arg0) {
inputFactory.setXMLResolver(arg0);
}
diff --git a/java/sca/modules/core-spring/src/main/java/org/apache/tuscany/sca/core/spring/implementation/java/impl/BeanJavaInterfaceImpl.java b/java/sca/modules/core-spring/src/main/java/org/apache/tuscany/sca/core/spring/implementation/java/impl/BeanJavaInterfaceImpl.java
index f3c84e900b..6c3afdb129 100644
--- a/java/sca/modules/core-spring/src/main/java/org/apache/tuscany/sca/core/spring/implementation/java/impl/BeanJavaInterfaceImpl.java
+++ b/java/sca/modules/core-spring/src/main/java/org/apache/tuscany/sca/core/spring/implementation/java/impl/BeanJavaInterfaceImpl.java
@@ -47,6 +47,7 @@ public class BeanJavaInterfaceImpl extends JavaInterfaceImpl implements JavaInte
protected BeanJavaInterfaceImpl() {
}
+ @Override
public String getName() {
if (isUnresolved()) {
return className;
@@ -56,44 +57,54 @@ public class BeanJavaInterfaceImpl extends JavaInterfaceImpl implements JavaInte
}
}
+ @Override
public void setName(String className) {
if (!isUnresolved())
throw new IllegalStateException();
this.className = className;
}
+ @Override
public Class<?> getJavaClass() {
return javaClass;
}
+ @Override
public void setJavaClass(Class<?> javaClass) {
this.javaClass = javaClass;
}
+ @Override
public Class<?> getCallbackClass() {
return callbackClass;
}
+ @Override
public void setCallbackClass(Class<?> callbackClass) {
this.callbackClass = callbackClass;
}
+ @Override
public boolean isConversational() {
return conversational;
}
+ @Override
public boolean isRemotable() {
return remotable;
}
+ @Override
public void setConversational(boolean conversational) {
this.conversational = conversational;
}
+ @Override
public void setRemotable(boolean local) {
this.remotable = local;
}
+ @Override
public List<Intent> getRequiredIntents() {
return requiredIntents;
}
@@ -102,25 +113,31 @@ public class BeanJavaInterfaceImpl extends JavaInterfaceImpl implements JavaInte
return extensions;
}
+ @Override
public List<Operation> getOperations() {
return operations;
}
+ @Override
public boolean isUnresolved() {
return unresolved;
}
+ @Override
public void setUnresolved(boolean undefined) {
this.unresolved = undefined;
}
+ @Override
public void resetDataBinding(String dataBinding) {
}
@Deprecated
+ @Override
public void setDefaultDataBinding(String dataBinding) {
}
+ @Override
public boolean isDynamic() {
return false;
}
diff --git a/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/assembly/RuntimeComponentImpl.java b/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/assembly/RuntimeComponentImpl.java
index 10d12ea80a..32ac611e54 100644
--- a/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/assembly/RuntimeComponentImpl.java
+++ b/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/assembly/RuntimeComponentImpl.java
@@ -103,7 +103,8 @@ public class RuntimeComponentImpl extends ComponentImpl implements RuntimeCompon
public void setModelResolver(ModelResolver modelResolver) {
this.modelResolver = modelResolver;
}
-
+
+ @Override
public String toString() {
return getName();
}
diff --git a/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/assembly/RuntimeComponentReferenceImpl.java b/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/assembly/RuntimeComponentReferenceImpl.java
index 546b06933b..eced10e235 100644
--- a/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/assembly/RuntimeComponentReferenceImpl.java
+++ b/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/assembly/RuntimeComponentReferenceImpl.java
@@ -136,6 +136,7 @@ public class RuntimeComponentReferenceImpl extends ComponentReferenceImpl implem
return policyProviders.get(binding);
}
+ @Override
public String toString() {
return getName();
}
diff --git a/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/assembly/RuntimeComponentServiceImpl.java b/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/assembly/RuntimeComponentServiceImpl.java
index e6ac8c44d1..af5230a163 100644
--- a/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/assembly/RuntimeComponentServiceImpl.java
+++ b/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/assembly/RuntimeComponentServiceImpl.java
@@ -155,7 +155,8 @@ public class RuntimeComponentServiceImpl extends ComponentServiceImpl implements
public List<PolicyProvider> getPolicyProviders(Binding binding) {
return policyProviders.get(binding);
}
-
+
+ @Override
public String toString() {
return getName();
}
diff --git a/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/context/ServiceReferenceImpl.java b/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/context/ServiceReferenceImpl.java
index 857a193260..1d178421cf 100644
--- a/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/context/ServiceReferenceImpl.java
+++ b/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/context/ServiceReferenceImpl.java
@@ -115,6 +115,7 @@ public class ServiceReferenceImpl<B> extends CallableReferenceImpl<B> implements
this.callback = callback;
}
+ @Override
protected ReferenceParameters getReferenceParameters() {
ReferenceParameters parameters = super.getReferenceParameters();
if (callback != null) {
diff --git a/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/invocation/InvocationChainImpl.java b/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/invocation/InvocationChainImpl.java
index 1a33e91a98..c26501e7d7 100644
--- a/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/invocation/InvocationChainImpl.java
+++ b/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/invocation/InvocationChainImpl.java
@@ -181,6 +181,7 @@ public class InvocationChainImpl implements InvocationChain {
return invoker;
}
+ @Override
public String toString() {
return "(" + phaseIndex + ")" + invoker;
}
diff --git a/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/invocation/PhaseManager.java b/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/invocation/PhaseManager.java
index 4f7778d3f7..94d67bffcc 100644
--- a/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/invocation/PhaseManager.java
+++ b/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/invocation/PhaseManager.java
@@ -88,6 +88,7 @@ public class PhaseManager {
return phases;
}
+ @Override
public String toString() {
return name + phases;
}
diff --git a/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/scope/ConversationalScopeContainer.java b/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/scope/ConversationalScopeContainer.java
index deea96e641..3ae1ca51c5 100644
--- a/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/scope/ConversationalScopeContainer.java
+++ b/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/scope/ConversationalScopeContainer.java
@@ -102,6 +102,7 @@ public class ConversationalScopeContainer extends AbstractScopeContainer<Object>
* @param context this should be a conversation object so that the conversation can b stored
* and reset when the component instance is removed
*/
+ @Override
public void addWrapperReference(Object existingContextId, Object contextId) throws TargetResolutionException {
@@ -120,6 +121,7 @@ public class ConversationalScopeContainer extends AbstractScopeContainer<Object>
}
}
+ @Override
public void registerWrapper(InstanceWrapper wrapper, Object contextId) throws TargetResolutionException {
// if a wrapper for a different instance is already registered for this contextId, remove it
InstanceLifeCycleWrapper anInstanceWrapper = this.instanceLifecycleCollection.get(contextId);
diff --git a/java/sca/modules/core/src/test/java/org/apache/tuscany/sca/core/work/JSR237MyFailingRunnable.java b/java/sca/modules/core/src/test/java/org/apache/tuscany/sca/core/work/JSR237MyFailingRunnable.java
index cdf47cf970..91b45dfbcb 100644
--- a/java/sca/modules/core/src/test/java/org/apache/tuscany/sca/core/work/JSR237MyFailingRunnable.java
+++ b/java/sca/modules/core/src/test/java/org/apache/tuscany/sca/core/work/JSR237MyFailingRunnable.java
@@ -35,6 +35,7 @@ public class JSR237MyFailingRunnable extends JSR237MyRunnable {
/**
* Sleeps for a period of time defined by sleepTime
*/
+ @Override
public void run() {
System.out.println("Starting " + this + " and throwing an Exception");
throw new IllegalArgumentException("Sample exception from " + this);
diff --git a/java/sca/modules/databinding-fastinfoset/src/main/java/org/apache/tuscany/sca/databinding/fastinfoset/FastInfoset2Node.java b/java/sca/modules/databinding-fastinfoset/src/main/java/org/apache/tuscany/sca/databinding/fastinfoset/FastInfoset2Node.java
index 3fa1fd5615..2e0aa629f3 100644
--- a/java/sca/modules/databinding-fastinfoset/src/main/java/org/apache/tuscany/sca/databinding/fastinfoset/FastInfoset2Node.java
+++ b/java/sca/modules/databinding-fastinfoset/src/main/java/org/apache/tuscany/sca/databinding/fastinfoset/FastInfoset2Node.java
@@ -58,6 +58,7 @@ public class FastInfoset2Node extends BaseTransformer<InputStream, Node> impleme
}
}
+ @Override
public int getWeight() {
return 20;
}
diff --git a/java/sca/modules/databinding-fastinfoset/src/main/java/org/apache/tuscany/sca/databinding/fastinfoset/FastInfoset2SAX.java b/java/sca/modules/databinding-fastinfoset/src/main/java/org/apache/tuscany/sca/databinding/fastinfoset/FastInfoset2SAX.java
index 9ddadb3b5d..77f6b77636 100644
--- a/java/sca/modules/databinding-fastinfoset/src/main/java/org/apache/tuscany/sca/databinding/fastinfoset/FastInfoset2SAX.java
+++ b/java/sca/modules/databinding-fastinfoset/src/main/java/org/apache/tuscany/sca/databinding/fastinfoset/FastInfoset2SAX.java
@@ -59,6 +59,7 @@ public class FastInfoset2SAX extends BaseTransformer<InputStream, ContentHandler
}
}
+ @Override
public int getWeight() {
return 20;
}
diff --git a/java/sca/modules/databinding-fastinfoset/src/main/java/org/apache/tuscany/sca/databinding/fastinfoset/FastInfoset2XMLStreamReader.java b/java/sca/modules/databinding-fastinfoset/src/main/java/org/apache/tuscany/sca/databinding/fastinfoset/FastInfoset2XMLStreamReader.java
index e2a4a7a32e..73d549f4f8 100644
--- a/java/sca/modules/databinding-fastinfoset/src/main/java/org/apache/tuscany/sca/databinding/fastinfoset/FastInfoset2XMLStreamReader.java
+++ b/java/sca/modules/databinding-fastinfoset/src/main/java/org/apache/tuscany/sca/databinding/fastinfoset/FastInfoset2XMLStreamReader.java
@@ -55,6 +55,7 @@ public class FastInfoset2XMLStreamReader extends BaseTransformer<InputStream, XM
}
}
+ @Override
public int getWeight() {
return 20;
}
diff --git a/java/sca/modules/databinding-fastinfoset/src/main/java/org/apache/tuscany/sca/databinding/fastinfoset/Node2FastInfoset.java b/java/sca/modules/databinding-fastinfoset/src/main/java/org/apache/tuscany/sca/databinding/fastinfoset/Node2FastInfoset.java
index 9d95ae6448..1c12a5dcad 100644
--- a/java/sca/modules/databinding-fastinfoset/src/main/java/org/apache/tuscany/sca/databinding/fastinfoset/Node2FastInfoset.java
+++ b/java/sca/modules/databinding-fastinfoset/src/main/java/org/apache/tuscany/sca/databinding/fastinfoset/Node2FastInfoset.java
@@ -59,6 +59,7 @@ public class Node2FastInfoset extends BaseTransformer<Node, OutputStream> implem
}
}
+ @Override
public int getWeight() {
return 20;
}
diff --git a/java/sca/modules/databinding-fastinfoset/src/main/java/org/apache/tuscany/sca/databinding/fastinfoset/XMLInputStream2FastInfoset.java b/java/sca/modules/databinding-fastinfoset/src/main/java/org/apache/tuscany/sca/databinding/fastinfoset/XMLInputStream2FastInfoset.java
index 9047b7158c..b0d56b3bb6 100644
--- a/java/sca/modules/databinding-fastinfoset/src/main/java/org/apache/tuscany/sca/databinding/fastinfoset/XMLInputStream2FastInfoset.java
+++ b/java/sca/modules/databinding-fastinfoset/src/main/java/org/apache/tuscany/sca/databinding/fastinfoset/XMLInputStream2FastInfoset.java
@@ -77,6 +77,7 @@ public class XMLInputStream2FastInfoset extends BaseTransformer<InputStream, Out
}
}
+ @Override
public int getWeight() {
return 20;
}
diff --git a/java/sca/modules/databinding-fastinfoset/src/main/java/org/apache/tuscany/sca/databinding/fastinfoset/XMLStreamReader2FastInfoset.java b/java/sca/modules/databinding-fastinfoset/src/main/java/org/apache/tuscany/sca/databinding/fastinfoset/XMLStreamReader2FastInfoset.java
index 270911af46..d18206600c 100644
--- a/java/sca/modules/databinding-fastinfoset/src/main/java/org/apache/tuscany/sca/databinding/fastinfoset/XMLStreamReader2FastInfoset.java
+++ b/java/sca/modules/databinding-fastinfoset/src/main/java/org/apache/tuscany/sca/databinding/fastinfoset/XMLStreamReader2FastInfoset.java
@@ -63,6 +63,7 @@ public class XMLStreamReader2FastInfoset extends BaseTransformer<XMLStreamReader
}
}
+ @Override
public int getWeight() {
return 20;
}
diff --git a/java/sca/modules/databinding-jaxb/src/main/java/org/apache/tuscany/sca/databinding/jaxb/JAXB2SAX.java b/java/sca/modules/databinding-jaxb/src/main/java/org/apache/tuscany/sca/databinding/jaxb/JAXB2SAX.java
index 097fc6124f..eee5c77285 100644
--- a/java/sca/modules/databinding-jaxb/src/main/java/org/apache/tuscany/sca/databinding/jaxb/JAXB2SAX.java
+++ b/java/sca/modules/databinding-jaxb/src/main/java/org/apache/tuscany/sca/databinding/jaxb/JAXB2SAX.java
@@ -58,6 +58,7 @@ public class JAXB2SAX extends BaseTransformer<Object, ContentHandler> implements
}
}
+ @Override
public int getWeight() {
return 20;
}
diff --git a/java/sca/modules/databinding-jaxb/src/main/java/org/apache/tuscany/sca/databinding/jaxb/JAXBPropertyDescriptor.java b/java/sca/modules/databinding-jaxb/src/main/java/org/apache/tuscany/sca/databinding/jaxb/JAXBPropertyDescriptor.java
index b85cbb0f42..8805d72627 100644
--- a/java/sca/modules/databinding-jaxb/src/main/java/org/apache/tuscany/sca/databinding/jaxb/JAXBPropertyDescriptor.java
+++ b/java/sca/modules/databinding-jaxb/src/main/java/org/apache/tuscany/sca/databinding/jaxb/JAXBPropertyDescriptor.java
@@ -291,6 +291,7 @@ public class JAXBPropertyDescriptor implements Comparable<JAXBPropertyDescriptor
}
}
+ @Override
public String toString() {
String value = "PropertyDescriptorPlus[";
value += " name=" + this.getPropertyName();
diff --git a/java/sca/modules/databinding-jaxb/src/test/java/org/apache/tuscany/sca/databinding/jaxb/BeanXMLStreamReaderImpl.java b/java/sca/modules/databinding-jaxb/src/test/java/org/apache/tuscany/sca/databinding/jaxb/BeanXMLStreamReaderImpl.java
index 0fde2ee9a5..602bc66569 100644
--- a/java/sca/modules/databinding-jaxb/src/test/java/org/apache/tuscany/sca/databinding/jaxb/BeanXMLStreamReaderImpl.java
+++ b/java/sca/modules/databinding-jaxb/src/test/java/org/apache/tuscany/sca/databinding/jaxb/BeanXMLStreamReaderImpl.java
@@ -86,6 +86,7 @@ public class BeanXMLStreamReaderImpl extends XmlTreeStreamReaderImpl {
this.entry = entry;
}
+ @Override
public Iterator<XmlNode> children() {
List<XmlNode> nodes = new ArrayList<XmlNode>();
XmlNode key = new BeanXmlNodeImpl(new QName("", "key"), entry.getKey());
@@ -124,6 +125,7 @@ public class BeanXMLStreamReaderImpl extends XmlTreeStreamReaderImpl {
}
}
+ @Override
public Iterator<XmlNode> children() {
if (name == null) {
return null;
@@ -188,10 +190,12 @@ public class BeanXMLStreamReaderImpl extends XmlTreeStreamReaderImpl {
}
}
+ @Override
public QName getName() {
return name;
}
+ @Override
public String getValue() {
return getStringValue(value);
}
diff --git a/java/sca/modules/databinding-json/src/main/java/org/apache/tuscany/sca/databinding/json/JSONDataBinding.java b/java/sca/modules/databinding-json/src/main/java/org/apache/tuscany/sca/databinding/json/JSONDataBinding.java
index 0ecf9dde19..4bda838b18 100644
--- a/java/sca/modules/databinding-json/src/main/java/org/apache/tuscany/sca/databinding/json/JSONDataBinding.java
+++ b/java/sca/modules/databinding-json/src/main/java/org/apache/tuscany/sca/databinding/json/JSONDataBinding.java
@@ -44,6 +44,7 @@ public class JSONDataBinding extends BaseDataBinding {
super(NAME, ALIASES, org.json.JSONObject.class);
}
+ @Override
public boolean introspect(DataType type, Operation operation) {
assert type != null;
Class cls = type.getPhysical();
diff --git a/java/sca/modules/databinding/src/main/java/org/apache/tuscany/sca/databinding/DefaultTransformerExtensionPoint.java b/java/sca/modules/databinding/src/main/java/org/apache/tuscany/sca/databinding/DefaultTransformerExtensionPoint.java
index 05e7af946b..2ab9471c91 100644
--- a/java/sca/modules/databinding/src/main/java/org/apache/tuscany/sca/databinding/DefaultTransformerExtensionPoint.java
+++ b/java/sca/modules/databinding/src/main/java/org/apache/tuscany/sca/databinding/DefaultTransformerExtensionPoint.java
@@ -199,6 +199,7 @@ public class DefaultTransformerExtensionPoint implements TransformerExtensionPoi
return getTransformer().transform(source, context);
}
+ @Override
public String toString() {
StringBuffer sb = new StringBuffer(super.toString());
sb.append(";className=").append(transformerDeclaration.getClassName());
@@ -261,6 +262,7 @@ public class DefaultTransformerExtensionPoint implements TransformerExtensionPoi
getTransformer().transform(source, sink, context);
}
+ @Override
public String toString() {
StringBuffer sb = new StringBuffer(super.toString());
sb.append(";className=").append(transformerDeclaration.getClassName());
diff --git a/java/sca/modules/databinding/src/main/java/org/apache/tuscany/sca/databinding/util/LRUCache.java b/java/sca/modules/databinding/src/main/java/org/apache/tuscany/sca/databinding/util/LRUCache.java
index 8e86977457..34a82fd2d3 100644
--- a/java/sca/modules/databinding/src/main/java/org/apache/tuscany/sca/databinding/util/LRUCache.java
+++ b/java/sca/modules/databinding/src/main/java/org/apache/tuscany/sca/databinding/util/LRUCache.java
@@ -81,6 +81,7 @@ public class LRUCache<K, V> extends LinkedHashMap<K, V> {
this.maxCacheSize = maxCacheSize;
}
+ @Override
protected boolean removeEldestEntry(Map.Entry<K, V> eldest) {
return size() > maxCacheSize;
}
diff --git a/java/sca/modules/databinding/src/main/java/org/apache/tuscany/sca/databinding/xml/BeanXMLStreamReaderImpl.java b/java/sca/modules/databinding/src/main/java/org/apache/tuscany/sca/databinding/xml/BeanXMLStreamReaderImpl.java
index b97abda2b0..3423d3e3b0 100644
--- a/java/sca/modules/databinding/src/main/java/org/apache/tuscany/sca/databinding/xml/BeanXMLStreamReaderImpl.java
+++ b/java/sca/modules/databinding/src/main/java/org/apache/tuscany/sca/databinding/xml/BeanXMLStreamReaderImpl.java
@@ -78,6 +78,7 @@ public class BeanXMLStreamReaderImpl extends XmlTreeStreamReaderImpl {
}
}
+ @Override
public Iterator<XmlNode> children() {
if (name == null) {
return null;
@@ -143,10 +144,12 @@ public class BeanXMLStreamReaderImpl extends XmlTreeStreamReaderImpl {
}
}
+ @Override
public QName getName() {
return name;
}
+ @Override
public String getValue() {
return getStringValue(value);
}
diff --git a/java/sca/modules/databinding/src/main/java/org/apache/tuscany/sca/databinding/xml/WrappingXMLStreamReader.java b/java/sca/modules/databinding/src/main/java/org/apache/tuscany/sca/databinding/xml/WrappingXMLStreamReader.java
index b08a374df8..d73e495798 100644
--- a/java/sca/modules/databinding/src/main/java/org/apache/tuscany/sca/databinding/xml/WrappingXMLStreamReader.java
+++ b/java/sca/modules/databinding/src/main/java/org/apache/tuscany/sca/databinding/xml/WrappingXMLStreamReader.java
@@ -49,10 +49,12 @@ public class WrappingXMLStreamReader extends StreamReaderDelegate implements XML
this.level = 1;
}
+ @Override
public boolean hasNext() throws XMLStreamException {
return !done && super.hasNext();
}
+ @Override
public int next() throws XMLStreamException {
if (!hasNext()) {
throw new IllegalStateException("No more events");
@@ -72,6 +74,7 @@ public class WrappingXMLStreamReader extends StreamReaderDelegate implements XML
return event;
}
+ @Override
public int nextTag() throws XMLStreamException {
int event = 0;
while (true) {
diff --git a/java/sca/modules/databinding/src/main/java/org/apache/tuscany/sca/databinding/xml/XmlNodeIterator.java b/java/sca/modules/databinding/src/main/java/org/apache/tuscany/sca/databinding/xml/XmlNodeIterator.java
index 53a9b4fcc6..3dd125463e 100644
--- a/java/sca/modules/databinding/src/main/java/org/apache/tuscany/sca/databinding/xml/XmlNodeIterator.java
+++ b/java/sca/modules/databinding/src/main/java/org/apache/tuscany/sca/databinding/xml/XmlNodeIterator.java
@@ -189,6 +189,7 @@ public class XmlNodeIterator implements Iterator<XmlNode> {
return parent;
}
+ @Override
public String toString() {
StringBuffer sb = new StringBuffer(map.toString());
if (parent != null) {
diff --git a/java/sca/modules/databinding/src/test/java/org/apache/tuscany/sca/databinding/xml/XmlTreeStreamReaderTestCase.java b/java/sca/modules/databinding/src/test/java/org/apache/tuscany/sca/databinding/xml/XmlTreeStreamReaderTestCase.java
index 8c1d45ff10..0463e7d9f5 100644
--- a/java/sca/modules/databinding/src/test/java/org/apache/tuscany/sca/databinding/xml/XmlTreeStreamReaderTestCase.java
+++ b/java/sca/modules/databinding/src/test/java/org/apache/tuscany/sca/databinding/xml/XmlTreeStreamReaderTestCase.java
@@ -183,6 +183,7 @@ public class XmlTreeStreamReaderTestCase {
return namespaces;
}
+ @Override
public String toString() {
return String.valueOf(name);
}
diff --git a/java/sca/modules/extensibility-osgi/src/main/java/org/apache/tuscany/sca/extensibility/osgi/OSGiServiceDiscoverer.java b/java/sca/modules/extensibility-osgi/src/main/java/org/apache/tuscany/sca/extensibility/osgi/OSGiServiceDiscoverer.java
index fa594be8d6..10954b1f5f 100644
--- a/java/sca/modules/extensibility-osgi/src/main/java/org/apache/tuscany/sca/extensibility/osgi/OSGiServiceDiscoverer.java
+++ b/java/sca/modules/extensibility-osgi/src/main/java/org/apache/tuscany/sca/extensibility/osgi/OSGiServiceDiscoverer.java
@@ -183,6 +183,7 @@ public class OSGiServiceDiscoverer implements ServiceDiscoverer {
});
}
+ @Override
public String toString() {
StringBuffer sb = new StringBuffer();
sb.append("Bundle: ").append(OSGiServiceDiscoverer.toString(bundle));
diff --git a/java/sca/modules/extension-helper/src/main/java/org/apache/tuscany/sca/extension/helper/utils/AbstractBinding.java b/java/sca/modules/extension-helper/src/main/java/org/apache/tuscany/sca/extension/helper/utils/AbstractBinding.java
index d5dc7d8644..112fb09f2a 100644
--- a/java/sca/modules/extension-helper/src/main/java/org/apache/tuscany/sca/extension/helper/utils/AbstractBinding.java
+++ b/java/sca/modules/extension-helper/src/main/java/org/apache/tuscany/sca/extension/helper/utils/AbstractBinding.java
@@ -64,6 +64,7 @@ public class AbstractBinding implements Binding {
this.unresolved = unresolved;
}
+ @Override
public Object clone() throws CloneNotSupportedException {
return super.clone();
}
diff --git a/java/sca/modules/host-corba/src/main/java/org/apache/tuscany/sca/host/corba/CorbanameURL.java b/java/sca/modules/host-corba/src/main/java/org/apache/tuscany/sca/host/corba/CorbanameURL.java
index 479e549ab6..a6b778c375 100644
--- a/java/sca/modules/host-corba/src/main/java/org/apache/tuscany/sca/host/corba/CorbanameURL.java
+++ b/java/sca/modules/host-corba/src/main/java/org/apache/tuscany/sca/host/corba/CorbanameURL.java
@@ -176,6 +176,7 @@ public class CorbanameURL {
this.namePath = namePath;
}
+ @Override
public String toString() {
StringBuffer buf = new StringBuffer();
buf.append("corbaname:");
diff --git a/java/sca/modules/host-webapp/src/main/java/org/apache/tuscany/sca/host/webapp/jsp/ReferenceTEI.java b/java/sca/modules/host-webapp/src/main/java/org/apache/tuscany/sca/host/webapp/jsp/ReferenceTEI.java
index 0f77f2f2b4..6e1b187a48 100644
--- a/java/sca/modules/host-webapp/src/main/java/org/apache/tuscany/sca/host/webapp/jsp/ReferenceTEI.java
+++ b/java/sca/modules/host-webapp/src/main/java/org/apache/tuscany/sca/host/webapp/jsp/ReferenceTEI.java
@@ -31,6 +31,7 @@ import javax.servlet.jsp.tagext.VariableInfo;
*/
public class ReferenceTEI extends TagExtraInfo {
+ @Override
public VariableInfo[] getVariableInfo(TagData data) {
VariableInfo info1
= new VariableInfo(
diff --git a/java/sca/modules/host-webapp/src/main/java/org/apache/tuscany/sca/host/webapp/jsp/ReferenceTag.java b/java/sca/modules/host-webapp/src/main/java/org/apache/tuscany/sca/host/webapp/jsp/ReferenceTag.java
index bcee2ac2d2..b7eb93222e 100644
--- a/java/sca/modules/host-webapp/src/main/java/org/apache/tuscany/sca/host/webapp/jsp/ReferenceTag.java
+++ b/java/sca/modules/host-webapp/src/main/java/org/apache/tuscany/sca/host/webapp/jsp/ReferenceTag.java
@@ -42,10 +42,12 @@ public class ReferenceTag extends TagSupport {
protected String type;
protected Integer scope = PageContext.PAGE_SCOPE;
+ @Override
public int doStartTag() throws JspException {
return SKIP_BODY;
}
+ @Override
public int doEndTag() throws JspException {
try {
diff --git a/java/sca/modules/implementation-bpel-ode/src/main/java/org/apache/tuscany/sca/implementation/bpel/ode/ODEDeployment.java b/java/sca/modules/implementation-bpel-ode/src/main/java/org/apache/tuscany/sca/implementation/bpel/ode/ODEDeployment.java
index ae75570352..a6428f6984 100644
--- a/java/sca/modules/implementation-bpel-ode/src/main/java/org/apache/tuscany/sca/implementation/bpel/ode/ODEDeployment.java
+++ b/java/sca/modules/implementation-bpel-ode/src/main/java/org/apache/tuscany/sca/implementation/bpel/ode/ODEDeployment.java
@@ -37,6 +37,7 @@ public class ODEDeployment {
this.deployDir = deployDir;
}
+ @Override
public String toString() {
return "Deployment#" + deployDir;
}
diff --git a/java/sca/modules/implementation-data-xml/src/main/java/org/apache/tuscany/sca/implementation/data/jdbc/ResultSetXmlNodeImpl.java b/java/sca/modules/implementation-data-xml/src/main/java/org/apache/tuscany/sca/implementation/data/jdbc/ResultSetXmlNodeImpl.java
index c826e27e20..576fe5605d 100644
--- a/java/sca/modules/implementation-data-xml/src/main/java/org/apache/tuscany/sca/implementation/data/jdbc/ResultSetXmlNodeImpl.java
+++ b/java/sca/modules/implementation-data-xml/src/main/java/org/apache/tuscany/sca/implementation/data/jdbc/ResultSetXmlNodeImpl.java
@@ -133,6 +133,7 @@ public class ResultSetXmlNodeImpl implements XmlNode {
private class RecordXmlNodeImpl extends XmlNodeImpl {
int index = 0;
+ @Override
public Iterator<XmlNode> children() {
return new Iterator<XmlNode>() {
@@ -150,6 +151,7 @@ public class ResultSetXmlNodeImpl implements XmlNode {
};
}
+ @Override
public QName getName() {
return RECORD;
}
@@ -167,16 +169,19 @@ public class ResultSetXmlNodeImpl implements XmlNode {
this.index = index;
}
+ @Override
public List<XmlNode> attributes() {
XmlNode attr = new SimpleXmlNodeImpl(NAME, columnNames[index], XmlNode.Type.ATTRIBUTE);
return Arrays.asList(attr);
}
+ @Override
public Iterator<XmlNode> children() {
XmlNode[] nodes = {new ValueXmlNodeImpl(index)};
return Arrays.asList(nodes).iterator();
}
+ @Override
public QName getName() {
return COLUMN;
}
@@ -194,6 +199,7 @@ public class ResultSetXmlNodeImpl implements XmlNode {
this.index = index;
}
+ @Override
public String getValue() {
try {
return String.valueOf(resultSet.getObject(index + 1));
@@ -202,6 +208,7 @@ public class ResultSetXmlNodeImpl implements XmlNode {
}
}
+ @Override
public Type getType() {
return Type.CHARACTERS;
}
diff --git a/java/sca/modules/implementation-widget/src/main/java/org/apache/tuscany/sca/implementation/widget/WidgetImplementation.java b/java/sca/modules/implementation-widget/src/main/java/org/apache/tuscany/sca/implementation/widget/WidgetImplementation.java
index 6546dbf0f3..b35cc41dd4 100644
--- a/java/sca/modules/implementation-widget/src/main/java/org/apache/tuscany/sca/implementation/widget/WidgetImplementation.java
+++ b/java/sca/modules/implementation-widget/src/main/java/org/apache/tuscany/sca/implementation/widget/WidgetImplementation.java
@@ -126,7 +126,8 @@ public class WidgetImplementation implements Implementation {
public void setUnresolved(boolean unresolved) {
this.unresolved = unresolved;
}
-
+
+ @Override
public String toString() {
return "Widget : " + getLocation();
}
diff --git a/java/sca/modules/interface-java-jaxws/src/main/java/org/apache/tuscany/sca/interfacedef/java/jaxws/GeneratedDataTypeImpl.java b/java/sca/modules/interface-java-jaxws/src/main/java/org/apache/tuscany/sca/interfacedef/java/jaxws/GeneratedDataTypeImpl.java
index 588e123ff1..c3f568ef48 100644
--- a/java/sca/modules/interface-java-jaxws/src/main/java/org/apache/tuscany/sca/interfacedef/java/jaxws/GeneratedDataTypeImpl.java
+++ b/java/sca/modules/interface-java-jaxws/src/main/java/org/apache/tuscany/sca/interfacedef/java/jaxws/GeneratedDataTypeImpl.java
@@ -125,6 +125,7 @@ public class GeneratedDataTypeImpl implements DataType<XMLType> {
// NOP
}
+ @Override
public Object clone() throws CloneNotSupportedException {
return super.clone();
}
diff --git a/java/sca/modules/interface-java/src/main/java/org/apache/tuscany/sca/interfacedef/java/impl/JavaOperationImpl.java b/java/sca/modules/interface-java/src/main/java/org/apache/tuscany/sca/interfacedef/java/impl/JavaOperationImpl.java
index 96e37cbc4b..4384213bf5 100644
--- a/java/sca/modules/interface-java/src/main/java/org/apache/tuscany/sca/interfacedef/java/impl/JavaOperationImpl.java
+++ b/java/sca/modules/interface-java/src/main/java/org/apache/tuscany/sca/interfacedef/java/impl/JavaOperationImpl.java
@@ -75,6 +75,7 @@ public class JavaOperationImpl extends OperationImpl implements JavaOperation {
return true;
}
+ @Override
public String toString() {
return method == null ? "null" : method.toGenericString();
}
diff --git a/java/sca/modules/interface-wsdl-xml/src/test/java/org/apache/tuscany/sca/interfacedef/wsdl/xml/WSDLDocumentProcessorTestCase.java b/java/sca/modules/interface-wsdl-xml/src/test/java/org/apache/tuscany/sca/interfacedef/wsdl/xml/WSDLDocumentProcessorTestCase.java
index cd98bdace5..2d3a3a54ff 100644
--- a/java/sca/modules/interface-wsdl-xml/src/test/java/org/apache/tuscany/sca/interfacedef/wsdl/xml/WSDLDocumentProcessorTestCase.java
+++ b/java/sca/modules/interface-wsdl-xml/src/test/java/org/apache/tuscany/sca/interfacedef/wsdl/xml/WSDLDocumentProcessorTestCase.java
@@ -43,6 +43,7 @@ public class WSDLDocumentProcessorTestCase extends AbstractWSDLTestCase {
* @throws java.lang.Exception
*/
@Before
+ @Override
public void setUp() throws Exception {
super.setUp();
}
@@ -51,6 +52,7 @@ public class WSDLDocumentProcessorTestCase extends AbstractWSDLTestCase {
* @throws java.lang.Exception
*/
@After
+ @Override
public void tearDown() throws Exception {
}
diff --git a/java/sca/modules/interface-wsdl/src/main/java/org/apache/tuscany/sca/interfacedef/wsdl/impl/WSDLOperationImpl.java b/java/sca/modules/interface-wsdl/src/main/java/org/apache/tuscany/sca/interfacedef/wsdl/impl/WSDLOperationImpl.java
index 1758b41fda..317b9cce81 100644
--- a/java/sca/modules/interface-wsdl/src/main/java/org/apache/tuscany/sca/interfacedef/wsdl/impl/WSDLOperationImpl.java
+++ b/java/sca/modules/interface-wsdl/src/main/java/org/apache/tuscany/sca/interfacedef/wsdl/impl/WSDLOperationImpl.java
@@ -73,6 +73,7 @@ public class WSDLOperationImpl extends OperationImpl implements WSDLOperation {
return true;
}
+ @Override
public String toString() {
return operation == null ? null : operation.toString();
}
diff --git a/java/sca/modules/node2-launcher/src/main/java/org/apache/tuscany/sca/node/launcher/NodeLauncherUtil.java b/java/sca/modules/node2-launcher/src/main/java/org/apache/tuscany/sca/node/launcher/NodeLauncherUtil.java
index 5580d14e74..6d8bcbe65c 100644
--- a/java/sca/modules/node2-launcher/src/main/java/org/apache/tuscany/sca/node/launcher/NodeLauncherUtil.java
+++ b/java/sca/modules/node2-launcher/src/main/java/org/apache/tuscany/sca/node/launcher/NodeLauncherUtil.java
@@ -282,7 +282,8 @@ final class NodeLauncherUtil {
* A file name filter used to filter JAR files.
*/
private static class WebAppJARFileNameFilter extends StandAloneJARFileNameFilter {
-
+
+ @Override
public boolean accept(File dir, String name) {
if (!super.accept(dir, name)) {
return false;
diff --git a/java/sca/modules/osgi-runtime/src/main/java/org/apache/tuscany/sca/osgi/runtime/EquinoxRuntime.java b/java/sca/modules/osgi-runtime/src/main/java/org/apache/tuscany/sca/osgi/runtime/EquinoxRuntime.java
index e4175cc7d8..43101b14c9 100644
--- a/java/sca/modules/osgi-runtime/src/main/java/org/apache/tuscany/sca/osgi/runtime/EquinoxRuntime.java
+++ b/java/sca/modules/osgi-runtime/src/main/java/org/apache/tuscany/sca/osgi/runtime/EquinoxRuntime.java
@@ -46,7 +46,7 @@ public class EquinoxRuntime extends OSGiRuntime {
return instance;
}
-
+ @Override
protected BundleContext startRuntime(boolean tuscanyRunningInOSGiContainer) throws Exception {
if (bundleContext != null)
diff --git a/java/sca/modules/osgi-runtime/src/main/java/org/apache/tuscany/sca/osgi/runtime/FelixRuntime.java b/java/sca/modules/osgi-runtime/src/main/java/org/apache/tuscany/sca/osgi/runtime/FelixRuntime.java
index 54ba4c3e87..f8b56c88d6 100644
--- a/java/sca/modules/osgi-runtime/src/main/java/org/apache/tuscany/sca/osgi/runtime/FelixRuntime.java
+++ b/java/sca/modules/osgi-runtime/src/main/java/org/apache/tuscany/sca/osgi/runtime/FelixRuntime.java
@@ -67,7 +67,8 @@ public class FelixRuntime extends OSGiRuntime implements BundleActivator {
dir.delete();
}
-
+
+ @Override
protected BundleContext startRuntime(boolean tuscanyRunningInOSGiContainer) throws Exception {
if (bundleContext != null)
diff --git a/java/sca/modules/osgi-runtime/src/main/java/org/apache/tuscany/sca/osgi/runtime/KnopflerfishRuntime.java b/java/sca/modules/osgi-runtime/src/main/java/org/apache/tuscany/sca/osgi/runtime/KnopflerfishRuntime.java
index 144c542a49..19041daf50 100644
--- a/java/sca/modules/osgi-runtime/src/main/java/org/apache/tuscany/sca/osgi/runtime/KnopflerfishRuntime.java
+++ b/java/sca/modules/osgi-runtime/src/main/java/org/apache/tuscany/sca/osgi/runtime/KnopflerfishRuntime.java
@@ -63,6 +63,7 @@ public class KnopflerfishRuntime extends OSGiRuntime {
// the classpath which contains framework.jar. The entries in init.xargs starting with
// -install are assumed to be single-line entries with full bundle location.
//
+ @Override
protected BundleContext startRuntime(boolean tuscanyRunningInOSGiContainer) throws Exception {
if (bundleContext != null)
diff --git a/java/sca/modules/policy-security/src/main/java/org/apache/tuscany/sca/policy/authorization/AuthorizationPolicy.java b/java/sca/modules/policy-security/src/main/java/org/apache/tuscany/sca/policy/authorization/AuthorizationPolicy.java
index c3df9e30fb..d58fa51256 100644
--- a/java/sca/modules/policy-security/src/main/java/org/apache/tuscany/sca/policy/authorization/AuthorizationPolicy.java
+++ b/java/sca/modules/policy-security/src/main/java/org/apache/tuscany/sca/policy/authorization/AuthorizationPolicy.java
@@ -73,6 +73,7 @@ public class AuthorizationPolicy implements Policy {
return NAME;
}
+ @Override
public String toString() {
if (accessControl == AcessControl.allow) {
return accessControl.name() + " " + roleNames;
diff --git a/java/sca/modules/policy-security/src/main/java/org/apache/tuscany/sca/policy/identity/SecurityIdentityPolicy.java b/java/sca/modules/policy-security/src/main/java/org/apache/tuscany/sca/policy/identity/SecurityIdentityPolicy.java
index ad2a1bfb39..8f848ef06a 100644
--- a/java/sca/modules/policy-security/src/main/java/org/apache/tuscany/sca/policy/identity/SecurityIdentityPolicy.java
+++ b/java/sca/modules/policy-security/src/main/java/org/apache/tuscany/sca/policy/identity/SecurityIdentityPolicy.java
@@ -66,6 +66,7 @@ public class SecurityIdentityPolicy implements Policy {
this.runAsRole = runAsRole;
}
+ @Override
public String toString() {
if (useCallerIdentity) {
return "useCallerIdentity";
diff --git a/java/sca/modules/policy/src/main/java/org/apache/tuscany/sca/policy/util/PolicyHandlerTuple.java b/java/sca/modules/policy/src/main/java/org/apache/tuscany/sca/policy/util/PolicyHandlerTuple.java
index 84ffe3ef29..c80e68a0be 100644
--- a/java/sca/modules/policy/src/main/java/org/apache/tuscany/sca/policy/util/PolicyHandlerTuple.java
+++ b/java/sca/modules/policy/src/main/java/org/apache/tuscany/sca/policy/util/PolicyHandlerTuple.java
@@ -82,7 +82,8 @@ public class PolicyHandlerTuple {
public void setProvidedIntentName(QName providedIntentName) {
this.providedIntentName = providedIntentName;
}
-
+
+ @Override
public String toString() {
return policyHandlerClassName + ", " + providedIntentName + ", " + policyModelClassName + ", " + appliesTo;
}
diff --git a/java/sca/modules/runtime-tomcat/src/main/java/org/apache/tuscany/sca/runtime/tomcat/TuscanyHost.java b/java/sca/modules/runtime-tomcat/src/main/java/org/apache/tuscany/sca/runtime/tomcat/TuscanyHost.java
index c46d1316ce..38280443f0 100644
--- a/java/sca/modules/runtime-tomcat/src/main/java/org/apache/tuscany/sca/runtime/tomcat/TuscanyHost.java
+++ b/java/sca/modules/runtime-tomcat/src/main/java/org/apache/tuscany/sca/runtime/tomcat/TuscanyHost.java
@@ -56,6 +56,7 @@ public class TuscanyHost extends StandardHost {
// TODO static for expedience, find a better way to share when/if this is working properly
protected static List<StandardContext> scaApps = new ArrayList<StandardContext>();
+ @Override
public synchronized void start() throws LifecycleException {
try {
logger.log(Level.INFO, "Starting Tuscany/SCA runtime");
@@ -67,6 +68,7 @@ public class TuscanyHost extends StandardHost {
}
}
+ @Override
public synchronized void stop() throws LifecycleException {
try {
logger.log(Level.INFO, "Stopping Tuscany/SCA runtime");
@@ -78,6 +80,7 @@ public class TuscanyHost extends StandardHost {
}
}
+ @Override
public synchronized void addChild(Container child) {
try {
if (isSCAApp(child)) {
diff --git a/java/sca/modules/runtime-tomcat/src/main/java/org/apache/tuscany/sca/runtime/tomcat/TuscanyWrapper.java b/java/sca/modules/runtime-tomcat/src/main/java/org/apache/tuscany/sca/runtime/tomcat/TuscanyWrapper.java
index 17c3cb1707..8764094d48 100644
--- a/java/sca/modules/runtime-tomcat/src/main/java/org/apache/tuscany/sca/runtime/tomcat/TuscanyWrapper.java
+++ b/java/sca/modules/runtime-tomcat/src/main/java/org/apache/tuscany/sca/runtime/tomcat/TuscanyWrapper.java
@@ -39,10 +39,12 @@ public class TuscanyWrapper extends StandardWrapper {
this.servlet = servlet;
}
+ @Override
public synchronized Servlet loadServlet() {
return servlet;
}
+ @Override
public Servlet getServlet() {
return servlet;
}