[ 
https://issues.apache.org/jira/browse/OWB-1034?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gerhard Petracek updated OWB-1034:
----------------------------------
    Description: 
  Class annotationClass = getAnnotationClass(a.getClass());
isn't needed - instead
  Class annotationClass = a.annotationType();
is enough.

with that
  return getTypeHashCode(a.getClass());
isn't needed at all

  was:
  Class annotationClass = getAnnotationClass(a.getClass());
isn't needed - instead
  Class annotationClass = a.annotationType();
is enough.

furthermore
  return getTypeHashCode(a.getClass());
always leads to the same result and should be
  return getTypeHashCode(a.annotationType());



> re-visit BeanCacheKey#getQualifierHashCode
> ------------------------------------------
>
>                 Key: OWB-1034
>                 URL: https://issues.apache.org/jira/browse/OWB-1034
>             Project: OpenWebBeans
>          Issue Type: Task
>            Reporter: Gerhard Petracek
>            Assignee: Mark Struberg
>
>   Class annotationClass = getAnnotationClass(a.getClass());
> isn't needed - instead
>   Class annotationClass = a.annotationType();
> is enough.
> with that
>   return getTypeHashCode(a.getClass());
> isn't needed at all



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to