struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgie...@apache.org
Subject svn commit: r1475841 - /struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/ContainerHolder.java
Date Thu, 25 Apr 2013 16:24:16 GMT
Author: rgielen
Date: Thu Apr 25 16:24:16 2013
New Revision: 1475841

URL: http://svn.apache.org/r1475841
Log:
WW-4058
- use remove rather than set(null) for cleanup

Modified:
    struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/ContainerHolder.java

Modified: struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/ContainerHolder.java
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/ContainerHolder.java?rev=1475841&r1=1475840&r2=1475841&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/ContainerHolder.java
(original)
+++ struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/ContainerHolder.java
Thu Apr 25 16:24:16 2013
@@ -27,7 +27,7 @@ class ContainerHolder {
     }
 
     public static void clear() {
-        ContainerHolder.instance.set(null);
+        ContainerHolder.instance.remove();
     }
 
 }



Mime
View raw message