deltaspike-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jozef Hartinger (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DELTASPIKE-211) ExcludeExtension uses wrong observed event type
Date Mon, 25 Jun 2012 17:39:44 GMT

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

Jozef Hartinger updated DELTASPIKE-211:
---------------------------------------

    Description: 
org.apache.deltaspike.core.impl.exclude.extension.ExcludeExtension

defines the following method:

protected void vetoBeans(@Observes ProcessAnnotatedType<Object> processAnnotatedType,
BeanManager beanManager)


The method declaration is wrong as the actual type argument (Object) restricts the set of
observed events to those fired for java.lang.Object only.

The type parameter of ProcessAnnotatedType in the observer method declaration should be replaced
with a wildcard or a type variable.

  was:
org.apache.deltaspike.core.impl.exclude.extension.ExcludeExtension

defines the following method:

{code:JAVA}
protected void vetoBeans(@Observes ProcessAnnotatedType<Object> processAnnotatedType,
BeanManager beanManager)
{code}

The method declaration is wrong as the actual type argument (Object) restricts the set of
observed events to those fired for java.lang.Object only.

The type parameter of ProcessAnnotatedType in the observer method declaration should be replaced
with a wildcard or a type variable.

    
> ExcludeExtension uses wrong observed event type
> -----------------------------------------------
>
>                 Key: DELTASPIKE-211
>                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-211
>             Project: DeltaSpike
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.2-incubating
>            Reporter: Jozef Hartinger
>
> org.apache.deltaspike.core.impl.exclude.extension.ExcludeExtension
> defines the following method:
> protected void vetoBeans(@Observes ProcessAnnotatedType<Object> processAnnotatedType,
BeanManager beanManager)
> The method declaration is wrong as the actual type argument (Object) restricts the set
of observed events to those fired for java.lang.Object only.
> The type parameter of ProcessAnnotatedType in the observer method declaration should
be replaced with a wildcard or a type variable.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message