struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lukaszlen...@apache.org
Subject svn commit: r1075679 - /struts/struts2/trunk/core/src/main/java/org/apache/struts2/interceptor/TokenInterceptor.java
Date Tue, 01 Mar 2011 06:54:13 GMT
Author: lukaszlenart
Date: Tue Mar  1 06:54:13 2011
New Revision: 1075679

URL: http://svn.apache.org/viewvc?rev=1075679&view=rev
Log:
Solves WW-3582 - moves in call to handleValidToken() method outside of lock on session object

Modified:
    struts/struts2/trunk/core/src/main/java/org/apache/struts2/interceptor/TokenInterceptor.java

Modified: struts/struts2/trunk/core/src/main/java/org/apache/struts2/interceptor/TokenInterceptor.java
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/interceptor/TokenInterceptor.java?rev=1075679&r1=1075678&r2=1075679&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/main/java/org/apache/struts2/interceptor/TokenInterceptor.java
(original)
+++ struts/struts2/trunk/core/src/main/java/org/apache/struts2/interceptor/TokenInterceptor.java
Tue Mar  1 06:54:13 2011
@@ -140,9 +140,8 @@ public class TokenInterceptor extends Me
             if (!TokenHelper.validToken()) {
                 return handleInvalidToken(invocation);
             }
-
-            return handleValidToken(invocation);
         }
+        return handleValidToken(invocation);
     }
 
     /**



Mime
View raw message