commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mcucchi...@apache.org
Subject svn commit: r1184943 - /commons/proper/ognl/branches/new-cache-approach/src/main/java/org/apache/commons/ognl/OgnlRuntime.java
Date Sun, 16 Oct 2011 22:05:55 GMT
Author: mcucchiara
Date: Sun Oct 16 22:05:55 2011
New Revision: 1184943

URL: http://svn.apache.org/viewvc?rev=1184943&view=rev
Log:
replaced comparison  with autobox

Modified:
    commons/proper/ognl/branches/new-cache-approach/src/main/java/org/apache/commons/ognl/OgnlRuntime.java

Modified: commons/proper/ognl/branches/new-cache-approach/src/main/java/org/apache/commons/ognl/OgnlRuntime.java
URL: http://svn.apache.org/viewvc/commons/proper/ognl/branches/new-cache-approach/src/main/java/org/apache/commons/ognl/OgnlRuntime.java?rev=1184943&r1=1184942&r2=1184943&view=diff
==============================================================================
--- commons/proper/ognl/branches/new-cache-approach/src/main/java/org/apache/commons/ognl/OgnlRuntime.java
(original)
+++ commons/proper/ognl/branches/new-cache-approach/src/main/java/org/apache/commons/ognl/OgnlRuntime.java
Sun Oct 16 22:05:55 2011
@@ -775,7 +775,7 @@ public class OgnlRuntime
 
         synchronized ( method )
         {
-            if ( _methodAccessCache.get( mHash ) == null || _methodAccessCache.get( mHash
) == Boolean.TRUE )
+            if ( _methodAccessCache.get( mHash ) == null || _methodAccessCache.get( mHash
) )
             {
                 syncInvoke = true;
             }



Mime
View raw message