tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fha...@apache.org
Subject svn commit: r454760 - /tomcat/tc6.0.x/trunk/java/org/apache/catalina/ha/session/DeltaSession.java
Date Tue, 10 Oct 2006 14:47:01 GMT
Author: fhanik
Date: Tue Oct 10 07:47:00 2006
New Revision: 454760

URL: http://svn.apache.org/viewvc?view=rev&rev=454760
Log:
Make sure that setIdInternal doesn't try to modify the hashmap

Modified:
    tomcat/tc6.0.x/trunk/java/org/apache/catalina/ha/session/DeltaSession.java

Modified: tomcat/tc6.0.x/trunk/java/org/apache/catalina/ha/session/DeltaSession.java
URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/java/org/apache/catalina/ha/session/DeltaSession.java?view=diff&rev=454760&r1=454759&r2=454760
==============================================================================
--- tomcat/tc6.0.x/trunk/java/org/apache/catalina/ha/session/DeltaSession.java (original)
+++ tomcat/tc6.0.x/trunk/java/org/apache/catalina/ha/session/DeltaSession.java Tue Oct 10
07:47:00 2006
@@ -197,7 +197,6 @@
                 this.setValid(true);
                 this.setPrimarySession(false);
                 this.access();
-                if (cm.isNotifyListenersOnReplication()) this.setId(getIdInternal());
                 this.resetDeltaRequest();
                 this.endAccess();
             }
@@ -229,7 +228,7 @@
      *            The new session identifier
      */
     public void setIdInternal(String id) {
-        super.setId(id);
+        this.id = id;
         resetDeltaRequest();
     }
 
@@ -240,7 +239,8 @@
      *            The new session identifier
      */
     public void setId(String id) {
-        setIdInternal(id);
+        super.setId(id);
+        resetDeltaRequest();
     }
 
    



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


Mime
View raw message