tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1178001 - /tomcat/trunk/java/org/apache/catalina/tribes/group/interceptors/NonBlockingCoordinator.java
Date Sat, 01 Oct 2011 14:49:23 GMT
Author: markt
Date: Sat Oct  1 14:49:23 2011
New Revision: 1178001

URL: http://svn.apache.org/viewvc?rev=1178001&view=rev
Log:
Remove unused parameter

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

Modified: tomcat/trunk/java/org/apache/catalina/tribes/group/interceptors/NonBlockingCoordinator.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/tribes/group/interceptors/NonBlockingCoordinator.java?rev=1178001&r1=1178000&r2=1178001&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/tribes/group/interceptors/NonBlockingCoordinator.java
(original)
+++ tomcat/trunk/java/org/apache/catalina/tribes/group/interceptors/NonBlockingCoordinator.java
Sat Oct  1 14:49:23 2011
@@ -319,16 +319,16 @@ public class NonBlockingCoordinator exte
         msg.timestamp = System.currentTimeMillis();
         Membership merged = mergeOnArrive(msg);
         if (isViewConf(msg)) handleViewConf(msg, sender, merged);
-        else handleToken(msg, sender, merged);
+        else handleToken(msg, merged);
     }
     
-    protected void handleToken(CoordinationMessage msg, Member sender,Membership merged)
throws ChannelException {
+    protected void handleToken(CoordinationMessage msg, Membership merged) throws ChannelException
{
         MemberImpl local = (MemberImpl)getLocalMember(false);
         if ( local.equals(msg.getSource()) ) {
             //my message msg.src=local
             handleMyToken(local, msg, merged);
         } else {
-            handleOtherToken(local, msg, sender,merged);
+            handleOtherToken(local, msg, merged);
         }
     }
     
@@ -356,7 +356,7 @@ public class NonBlockingCoordinator exte
         }
     }
     
-    protected void handleOtherToken(MemberImpl local, CoordinationMessage msg, Member sender,Membership
merged) throws ChannelException {
+    protected void handleOtherToken(MemberImpl local, CoordinationMessage msg, Membership
merged) throws ChannelException {
         if ( local.equals(msg.getLeader()) ) {
             //I am the new leader
             //startElection(false);



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


Mime
View raw message