Author: pete.muir(a)jboss.org
Date: 2008-10-23 19:30:14 -0400 (Thu, 23 Oct 2008)
New Revision: 136
Modified:
ri/trunk/webbeans-api/src/main/java/javax/webbeans/AnnotationLiteral.java
Log:
A "real" annotation always returns 0 as it's hashCode
Modified: ri/trunk/webbeans-api/src/main/java/javax/webbeans/AnnotationLiteral.java
===================================================================
--- ri/trunk/webbeans-api/src/main/java/javax/webbeans/AnnotationLiteral.java 2008-10-23
22:20:25 UTC (rev 135)
+++ ri/trunk/webbeans-api/src/main/java/javax/webbeans/AnnotationLiteral.java 2008-10-23
23:30:14 UTC (rev 136)
@@ -124,6 +124,6 @@
@Override
public int hashCode()
{
- return annotationType().hashCode();
+ return 0;
}
}
Show replies by date