tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fha...@apache.org
Subject svn commit: r399064 - /tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/membership/McastMembership.java
Date Tue, 02 May 2006 21:59:22 GMT
Author: fhanik
Date: Tue May  2 14:59:20 2006
New Revision: 399064

URL: http://svn.apache.org/viewcvs?rev=399064&view=rev
Log:
no need to synchronize on a get

Modified:
    tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/membership/McastMembership.java

Modified: tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/membership/McastMembership.java
URL: http://svn.apache.org/viewcvs/tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/membership/McastMembership.java?rev=399064&r1=399063&r2=399064&view=diff
==============================================================================
--- tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/membership/McastMembership.java
(original)
+++ tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/membership/McastMembership.java
Tue May  2 14:59:20 2006
@@ -195,7 +195,7 @@
     }
     
     
-    public synchronized MemberImpl getMember(Member mbr) {
+    public MemberImpl getMember(Member mbr) {
         if(hasMembers()) {
             MemberImpl result = null;
             for ( int i=0; i<this.members.length && result==null; i++ ) {



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


Mime
View raw message