You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltaspike.apache.org by "Gerhard Petracek (JIRA)" <ji...@apache.org> on 2012/07/15 19:36:34 UTC

[jira] [Resolved] (DELTASPIKE-211) ExcludeExtension uses wrong observed event type

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

Gerhard Petracek resolved DELTASPIKE-211.
-----------------------------------------

       Resolution: Fixed
    Fix Version/s: 0.3-incubating
         Assignee: Mark Struberg
    
> 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
>            Assignee: Mark Struberg
>             Fix For: 0.3-incubating
>
>
> 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