Quantcast

svn commit: r1792171 - /tomcat/trunk/java/org/apache/catalina/tribes/group/interceptors/MessageDispatchInterceptor.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

svn commit: r1792171 - /tomcat/trunk/java/org/apache/catalina/tribes/group/interceptors/MessageDispatchInterceptor.java

markt
Author: markt
Date: Fri Apr 21 09:53:16 2017
New Revision: 1792171

URL: http://svn.apache.org/viewvc?rev=1792171&view=rev
Log:
Silence IDE nags
Add @Override markers

Modified:
    tomcat/trunk/java/org/apache/catalina/tribes/group/interceptors/MessageDispatchInterceptor.java

Modified: tomcat/trunk/java/org/apache/catalina/tribes/group/interceptors/MessageDispatchInterceptor.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/tribes/group/interceptors/MessageDispatchInterceptor.java?rev=1792171&r1=1792170&r2=1792171&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/tribes/group/interceptors/MessageDispatchInterceptor.java (original)
+++ tomcat/trunk/java/org/apache/catalina/tribes/group/interceptors/MessageDispatchInterceptor.java Fri Apr 21 09:53:16 2017
@@ -208,6 +208,7 @@ public class MessageDispatchInterceptor
     }
 
 
+    @Override
     public void setAlwaysSend(boolean alwaysSend) {
         this.alwaysSend = alwaysSend;
     }
@@ -285,6 +286,7 @@ public class MessageDispatchInterceptor
      * Return the current number of threads that are managed by the pool.
      * @return the current number of threads that are managed by the pool
      */
+    @Override
     public int getPoolSize() {
         if (executor instanceof ThreadPoolExecutor) {
             return ((ThreadPoolExecutor) executor).getPoolSize();
@@ -297,6 +299,7 @@ public class MessageDispatchInterceptor
      * Return the current number of threads that are in use.
      * @return the current number of threads that are in use
      */
+    @Override
     public int getActiveCount() {
         if (executor instanceof ThreadPoolExecutor) {
             return ((ThreadPoolExecutor) executor).getActiveCount();
@@ -309,6 +312,7 @@ public class MessageDispatchInterceptor
      * Return the total number of tasks that have ever been scheduled for execution by the pool.
      * @return the total number of tasks that have ever been scheduled for execution by the pool
      */
+    @Override
     public long getTaskCount() {
         if (executor instanceof ThreadPoolExecutor) {
             return ((ThreadPoolExecutor) executor).getTaskCount();
@@ -321,6 +325,7 @@ public class MessageDispatchInterceptor
      * Return the total number of tasks that have completed execution by the pool.
      * @return the total number of tasks that have completed execution by the pool
      */
+    @Override
     public long getCompletedTaskCount() {
         if (executor instanceof ThreadPoolExecutor) {
             return ((ThreadPoolExecutor) executor).getCompletedTaskCount();



---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Loading...