Commits

Anonymous committed a6867f5

resolves XW-110, nore more crappy synchonization that doesn't even work

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

  • Participants
  • Parent commits 2ffee4f

Comments (0)

Files changed (1)

File src/java/com/opensymphony/xwork/util/OgnlUtil.java

         o = expressions.get(expression);
 
         if (o == null) {
-            synchronized (expressions) {
-                o = expressions.get(expression);
-
-                if (o == null) {
-                    o = Ognl.parseExpression(expression);
-                    expressions.put(expression, o);
-                }
-            }
+            o = Ognl.parseExpression(expression);
+            expressions.put(expression, o);
         }
 
         return o;