Fix Eclipse warnings
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Thu, 30 Sep 2010 21:40:11 +0000 (21:40 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Thu, 30 Sep 2010 21:40:11 +0000 (21:40 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1003301 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/catalina/core/StandardThreadExecutor.java

index f45f812..44e6e0c 100644 (file)
@@ -144,6 +144,7 @@ public class StandardThreadExecutor extends LifecycleMBeanBase
     }
 
     
+    @Override
     public void execute(Runnable command, long timeout, TimeUnit unit) {
         if ( executor != null ) {
             executor.execute(command,timeout,unit);
@@ -153,6 +154,7 @@ public class StandardThreadExecutor extends LifecycleMBeanBase
     }
     
     
+    @Override
     public void execute(Runnable command) {
         if ( executor != null ) {
             try {
@@ -181,6 +183,7 @@ public class StandardThreadExecutor extends LifecycleMBeanBase
         return maxIdleTime;
     }
 
+    @Override
     public int getMaxThreads() {
         return maxThreads;
     }
@@ -189,6 +192,7 @@ public class StandardThreadExecutor extends LifecycleMBeanBase
         return minSpareThreads;
     }
 
+    @Override
     public String getName() {
         return name;
     }
@@ -247,6 +251,7 @@ public class StandardThreadExecutor extends LifecycleMBeanBase
     }
     
     // Statistics from the thread pool
+    @Override
     public int getActiveCount() {
         return (executor != null) ? executor.getActiveCount() : 0;
     }
@@ -263,6 +268,7 @@ public class StandardThreadExecutor extends LifecycleMBeanBase
         return (executor != null) ? executor.getLargestPoolSize() : 0;
     }
 
+    @Override
     public int getPoolSize() {
         return (executor != null) ? executor.getPoolSize() : 0;
     }