You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "Gerhard Petracek (JIRA)" <ji...@apache.org> on 2015/01/31 22:02:34 UTC

[jira] [Updated] (OWB-1034) re-visit BeanCacheKey#getQualifierHashCode

     [ 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)