Jozef Hartinger created DELTASPIKE-211:
------------------------------------------

             Summary: 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:

{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.

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

        

Reply via email to