openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From strub...@apache.org
Subject svn commit: r1796339 - /openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/inject/impl/InjectionPointImpl.java
Date Fri, 26 May 2017 20:32:00 GMT
Author: struberg
Date: Fri May 26 20:32:00 2017
New Revision: 1796339

URL: http://svn.apache.org/viewvc?rev=1796339&view=rev
Log:
OWB-1182 revert accidently checked in equals/hashCode test

Modified:
    openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/inject/impl/InjectionPointImpl.java

Modified: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/inject/impl/InjectionPointImpl.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/inject/impl/InjectionPointImpl.java?rev=1796339&r1=1796338&r2=1796339&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/inject/impl/InjectionPointImpl.java
(original)
+++ openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/inject/impl/InjectionPointImpl.java
Fri May 26 20:32:00 2017
@@ -335,36 +335,6 @@ class InjectionPointImpl implements Inje
         return qualifiers;
     }
 
-    @Override
-    public boolean equals(Object o)
-    {
-        if (this == o) return true;
-        if (o == null || getClass() != o.getClass()) return false;
-
-        InjectionPointImpl that = (InjectionPointImpl) o;
-
-        if (transientt != that.transientt) return false;
-        if (delegate != that.delegate) return false;
-        if (!qualifierAnnotations.equals(that.qualifierAnnotations)) return false;
-        if (ownerBean != null ? !ownerBean.equals(that.ownerBean) : that.ownerBean != null)
return false;
-        if (!injectionMember.equals(that.injectionMember)) return false;
-        if (!injectionType.equals(that.injectionType)) return false;
-        return annotated != null ? annotated.equals(that.annotated) : that.annotated == null;
-    }
-
-    @Override
-    public int hashCode()
-    {
-        int result = qualifierAnnotations.hashCode();
-        result = 31 * result + (ownerBean != null ? ownerBean.hashCode() : 0);
-        result = 31 * result + injectionMember.hashCode();
-        result = 31 * result + injectionType.hashCode();
-        result = 31 * result + (annotated != null ? annotated.hashCode() : 0);
-        result = 31 * result + (transientt ? 1 : 0);
-        result = 31 * result + (delegate ? 1 : 0);
-        return result;
-    }
-
     public String toString()
     {
         StringBuilder buffer = new StringBuilder();



Mime
View raw message