openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From strub...@apache.org
Subject svn commit: r1828965 - /openwebbeans/trunk/webbeans-el22/src/main/java/org/apache/webbeans/el22/WrappedValueExpression.java
Date Thu, 12 Apr 2018 09:46:04 GMT
Author: struberg
Date: Thu Apr 12 09:46:04 2018
New Revision: 1828965

URL: http://svn.apache.org/viewvc?rev=1828965&view=rev
Log:
OWB-1233 fix equals code

Modified:
    openwebbeans/trunk/webbeans-el22/src/main/java/org/apache/webbeans/el22/WrappedValueExpression.java

Modified: openwebbeans/trunk/webbeans-el22/src/main/java/org/apache/webbeans/el22/WrappedValueExpression.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-el22/src/main/java/org/apache/webbeans/el22/WrappedValueExpression.java?rev=1828965&r1=1828964&r2=1828965&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-el22/src/main/java/org/apache/webbeans/el22/WrappedValueExpression.java
(original)
+++ openwebbeans/trunk/webbeans-el22/src/main/java/org/apache/webbeans/el22/WrappedValueExpression.java
Thu Apr 12 09:46:04 2018
@@ -95,7 +95,11 @@ public class WrappedValueExpression exte
 
     @Override
     public boolean equals(Object arg0)
-    {        
+    {
+        if (arg0 instanceof WrappedValueExpression)
+        {
+            return valueExpression.equals(WrappedValueExpression.class.cast(arg0).valueExpression);
+        }
         return valueExpression.equals(arg0);
     }
 



Mime
View raw message