From aecff162c1bd14ebb5eee14f9d46eacd37c29996 Mon Sep 17 00:00:00 2001 From: mcombellack Date: Wed, 26 Nov 2008 15:47:28 +0000 Subject: Added missing @Override annotation on methods that override a method declaration in a superclass git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@720905 13f79535-47bb-0310-9956-ffa450edef68 --- .../tuscany/sca/extensibility/equinox/EquinoxServiceDiscoverer.java | 1 + .../tuscany/sca/extensibility/ContextClassLoaderServiceDiscoverer.java | 1 + .../apache/tuscany/sca/node/equinox/launcher/DomainManagerLauncher.java | 1 + .../org/apache/tuscany/sca/node/equinox/launcher/NodeDaemonLauncher.java | 1 + .../java/org/apache/tuscany/sca/node/equinox/launcher/NodeLauncher.java | 1 + .../java/org/apache/tuscany/sca/node/launcher/DomainManagerLauncher.java | 1 + .../java/org/apache/tuscany/sca/node/launcher/NodeDaemonLauncher.java | 1 + .../src/main/java/org/apache/tuscany/sca/node/launcher/NodeLauncher.java | 1 + 8 files changed, 8 insertions(+) (limited to 'java/sca/modules') diff --git a/java/sca/modules/extensibility-equinox/src/main/java/org/apache/tuscany/sca/extensibility/equinox/EquinoxServiceDiscoverer.java b/java/sca/modules/extensibility-equinox/src/main/java/org/apache/tuscany/sca/extensibility/equinox/EquinoxServiceDiscoverer.java index bb77b77d0c..97c878efde 100644 --- a/java/sca/modules/extensibility-equinox/src/main/java/org/apache/tuscany/sca/extensibility/equinox/EquinoxServiceDiscoverer.java +++ b/java/sca/modules/extensibility-equinox/src/main/java/org/apache/tuscany/sca/extensibility/equinox/EquinoxServiceDiscoverer.java @@ -106,6 +106,7 @@ public class EquinoxServiceDiscoverer implements ServiceDiscoverer { }); } + @Override public String toString() { StringBuffer sb = new StringBuffer(); sb.append("Bundle: ").append(EquinoxServiceDiscoverer.toString(bundle)); diff --git a/java/sca/modules/extensibility/src/main/java/org/apache/tuscany/sca/extensibility/ContextClassLoaderServiceDiscoverer.java b/java/sca/modules/extensibility/src/main/java/org/apache/tuscany/sca/extensibility/ContextClassLoaderServiceDiscoverer.java index 7d9dc0e9ef..918f7beebd 100644 --- a/java/sca/modules/extensibility/src/main/java/org/apache/tuscany/sca/extensibility/ContextClassLoaderServiceDiscoverer.java +++ b/java/sca/modules/extensibility/src/main/java/org/apache/tuscany/sca/extensibility/ContextClassLoaderServiceDiscoverer.java @@ -87,6 +87,7 @@ public class ContextClassLoaderServiceDiscoverer implements ServiceDiscoverer { return Class.forName(className, false, classLoaderReference.get()); } + @Override public String toString() { StringBuffer sb = new StringBuffer(); sb.append("ClassLoader: ").append(classLoaderReference.get()); diff --git a/java/sca/modules/node-launcher-equinox/src/main/java/org/apache/tuscany/sca/node/equinox/launcher/DomainManagerLauncher.java b/java/sca/modules/node-launcher-equinox/src/main/java/org/apache/tuscany/sca/node/equinox/launcher/DomainManagerLauncher.java index 61187eecac..e6f59e1b07 100644 --- a/java/sca/modules/node-launcher-equinox/src/main/java/org/apache/tuscany/sca/node/equinox/launcher/DomainManagerLauncher.java +++ b/java/sca/modules/node-launcher-equinox/src/main/java/org/apache/tuscany/sca/node/equinox/launcher/DomainManagerLauncher.java @@ -156,6 +156,7 @@ public class DomainManagerLauncher { this.equinox = equinox; } + @Override public void run() { try { stopDomainManager(domainManager); diff --git a/java/sca/modules/node-launcher-equinox/src/main/java/org/apache/tuscany/sca/node/equinox/launcher/NodeDaemonLauncher.java b/java/sca/modules/node-launcher-equinox/src/main/java/org/apache/tuscany/sca/node/equinox/launcher/NodeDaemonLauncher.java index b77382d6a0..aeb29c0789 100644 --- a/java/sca/modules/node-launcher-equinox/src/main/java/org/apache/tuscany/sca/node/equinox/launcher/NodeDaemonLauncher.java +++ b/java/sca/modules/node-launcher-equinox/src/main/java/org/apache/tuscany/sca/node/equinox/launcher/NodeDaemonLauncher.java @@ -143,6 +143,7 @@ public class NodeDaemonLauncher { this.equinox = equinox; } + @Override public void run() { try { stopNode(node); diff --git a/java/sca/modules/node-launcher-equinox/src/main/java/org/apache/tuscany/sca/node/equinox/launcher/NodeLauncher.java b/java/sca/modules/node-launcher-equinox/src/main/java/org/apache/tuscany/sca/node/equinox/launcher/NodeLauncher.java index 68d1fa05e7..462246f37c 100644 --- a/java/sca/modules/node-launcher-equinox/src/main/java/org/apache/tuscany/sca/node/equinox/launcher/NodeLauncher.java +++ b/java/sca/modules/node-launcher-equinox/src/main/java/org/apache/tuscany/sca/node/equinox/launcher/NodeLauncher.java @@ -199,6 +199,7 @@ public class NodeLauncher { this.equinox = equinox; } + @Override public void run() { try { destroyNode(node); diff --git a/java/sca/modules/node-launcher/src/main/java/org/apache/tuscany/sca/node/launcher/DomainManagerLauncher.java b/java/sca/modules/node-launcher/src/main/java/org/apache/tuscany/sca/node/launcher/DomainManagerLauncher.java index eb06ad7411..ba795216a9 100644 --- a/java/sca/modules/node-launcher/src/main/java/org/apache/tuscany/sca/node/launcher/DomainManagerLauncher.java +++ b/java/sca/modules/node-launcher/src/main/java/org/apache/tuscany/sca/node/launcher/DomainManagerLauncher.java @@ -168,6 +168,7 @@ public class DomainManagerLauncher { this.domainManager = domainManager; } + @Override public void run() { try { stopDomainManager(domainManager); diff --git a/java/sca/modules/node-launcher/src/main/java/org/apache/tuscany/sca/node/launcher/NodeDaemonLauncher.java b/java/sca/modules/node-launcher/src/main/java/org/apache/tuscany/sca/node/launcher/NodeDaemonLauncher.java index 7cfabfe265..56be9f9921 100644 --- a/java/sca/modules/node-launcher/src/main/java/org/apache/tuscany/sca/node/launcher/NodeDaemonLauncher.java +++ b/java/sca/modules/node-launcher/src/main/java/org/apache/tuscany/sca/node/launcher/NodeDaemonLauncher.java @@ -157,6 +157,7 @@ public class NodeDaemonLauncher { this.node = node; } + @Override public void run() { try { stopNode(node); diff --git a/java/sca/modules/node-launcher/src/main/java/org/apache/tuscany/sca/node/launcher/NodeLauncher.java b/java/sca/modules/node-launcher/src/main/java/org/apache/tuscany/sca/node/launcher/NodeLauncher.java index be9bdb15c4..a0961b5bc3 100644 --- a/java/sca/modules/node-launcher/src/main/java/org/apache/tuscany/sca/node/launcher/NodeLauncher.java +++ b/java/sca/modules/node-launcher/src/main/java/org/apache/tuscany/sca/node/launcher/NodeLauncher.java @@ -219,6 +219,7 @@ public class NodeLauncher { this.node = node; } + @Override public void run() { try { stopNode(node); -- cgit v1.2.3