tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1222402 - in /tomcat/trunk/java/org/apache/catalina/tribes/group: ChannelCoordinator.java ChannelInterceptorBase.java
Date Thu, 22 Dec 2011 19:10:35 GMT
Author: markt
Date: Thu Dec 22 19:10:35 2011
New Revision: 1222402

URL: http://svn.apache.org/viewvc?rev=1222402&view=rev
Log:
Move accept() method from base class to one concrete class that needs it

Modified:
    tomcat/trunk/java/org/apache/catalina/tribes/group/ChannelCoordinator.java
    tomcat/trunk/java/org/apache/catalina/tribes/group/ChannelInterceptorBase.java

Modified: tomcat/trunk/java/org/apache/catalina/tribes/group/ChannelCoordinator.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/tribes/group/ChannelCoordinator.java?rev=1222402&r1=1222401&r2=1222402&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/tribes/group/ChannelCoordinator.java (original)
+++ tomcat/trunk/java/org/apache/catalina/tribes/group/ChannelCoordinator.java Thu Dec 22
19:10:35 2011
@@ -253,6 +253,11 @@ public class ChannelCoordinator extends 
         super.messageReceived(msg);
     }
 
+    @Override
+    public boolean accept(ChannelMessage msg) {
+        return true;
+    }
+
     public ChannelReceiver getClusterReceiver() {
         return clusterReceiver;
     }

Modified: tomcat/trunk/java/org/apache/catalina/tribes/group/ChannelInterceptorBase.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/tribes/group/ChannelInterceptorBase.java?rev=1222402&r1=1222401&r2=1222402&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/tribes/group/ChannelInterceptorBase.java (original)
+++ tomcat/trunk/java/org/apache/catalina/tribes/group/ChannelInterceptorBase.java Thu Dec
22 19:10:35 2011
@@ -84,10 +84,6 @@ public abstract class ChannelInterceptor
         if (getPrevious() != null) getPrevious().messageReceived(msg);
     }
 
-    public boolean accept(ChannelMessage msg) {
-        return true;
-    }
-
     @Override
     public void memberAdded(Member member) {
         //notify upwards



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message