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);
     }
 


Reply via email to