Skip to content

Commit f713cfc

Browse files
committed
Solves WW-3582 - moves in call to handleValidToken() method outside of lock on session object
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1075679 13f79535-47bb-0310-9956-ffa450edef68
1 parent b16ff13 commit f713cfc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

core/src/main/java/org/apache/struts2/interceptor/TokenInterceptor.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,9 +140,8 @@ protected String doIntercept(ActionInvocation invocation) throws Exception {
140140
if (!TokenHelper.validToken()) {
141141
return handleInvalidToken(invocation);
142142
}
143-
144-
return handleValidToken(invocation);
145143
}
144+
return handleValidToken(invocation);
146145
}
147146

148147
/**

0 commit comments

Comments
 (0)