tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p...@apache.org
Subject svn commit: r326113 - /tomcat/container/tc5.5.x/modules/cluster/src/share/org/apache/catalina/cluster/session/DeltaSession.java
Date Tue, 18 Oct 2005 14:15:33 GMT
Author: pero
Date: Tue Oct 18 07:15:29 2005
New Revision: 326113

URL: http://svn.apache.org/viewcvs?rev=326113&view=rev
Log:
Now removeAttributeInternal use also hashtable! Sorry :-)

Modified:
    tomcat/container/tc5.5.x/modules/cluster/src/share/org/apache/catalina/cluster/session/DeltaSession.java

Modified: tomcat/container/tc5.5.x/modules/cluster/src/share/org/apache/catalina/cluster/session/DeltaSession.java
URL: http://svn.apache.org/viewcvs/tomcat/container/tc5.5.x/modules/cluster/src/share/org/apache/catalina/cluster/session/DeltaSession.java?rev=326113&r1=326112&r2=326113&view=diff
==============================================================================
--- tomcat/container/tc5.5.x/modules/cluster/src/share/org/apache/catalina/cluster/session/DeltaSession.java
(original)
+++ tomcat/container/tc5.5.x/modules/cluster/src/share/org/apache/catalina/cluster/session/DeltaSession.java
Tue Oct 18 07:15:29 2005
@@ -1553,10 +1553,7 @@
             boolean addDeltaRequest) {
 
         // Remove this attribute from our collection
-        Object value = null;
-        synchronized (attributes) {
-            value = attributes.remove(name);
-        }
+        Object value = attributes.remove(name);
         if (value == null)
             return;
 



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


Mime
View raw message