diff options
author | mcombellack <mcombellack@13f79535-47bb-0310-9956-ffa450edef68> | 2008-08-13 13:03:50 +0000 |
---|---|---|
committer | mcombellack <mcombellack@13f79535-47bb-0310-9956-ffa450edef68> | 2008-08-13 13:03:50 +0000 |
commit | f19b2d3c62e06b95e0681f5d2c3976f99be328cf (patch) | |
tree | 518cc3930624da5898aa6d72df316823512c81ba /java/sca/modules/runtime-tomcat/src | |
parent | 9acfee03a24aa52a4aae6bb77a1093c5b9780a9f (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/sca/modules/runtime-tomcat/src')
2 files changed, 5 insertions, 0 deletions
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; } |