Commits

Anonymous committed 5537715

WW-3203 Remove synchronized block from DefaultActionInvocation.createResult

git-svn-id: http://svn.opensymphony.com/svn/xwork/trunk@2024e221344d-f017-0410-9bd5-d282ab1896d7

  • Participants
  • Parent commits df6d78c

Comments (0)

Files changed (1)

File core/src/main/java/com/opensymphony/xwork2/DefaultActionInvocation.java

 
         ResultConfig resultConfig = null;
 
-        synchronized (config) {
-            try {
-                resultConfig = results.get(resultCode);
-            } catch (NullPointerException e) {
-                // swallow
-            }
-            if (resultConfig == null) {
-                // If no result is found for the given resultCode, try to get a wildcard '*' match.
-                resultConfig = results.get("*");
-            }
+        try {
+            resultConfig = results.get(resultCode);
+        } catch (NullPointerException e) {
+            // swallow
+        }
+        
+        if (resultConfig == null) {
+            // If no result is found for the given resultCode, try to get a wildcard '*' match.
+            resultConfig = results.get("*");
         }
 
         if (resultConfig != null) {