[cdi-dev] [JBoss JIRA] (CDI-506) '10.4.4. Conditional observer methods' - specifies incorrect Element name for @Observes annotation

Antoine Sabot-Durand (JIRA) issues at jboss.org
Mon Jun 29 11:44:11 EDT 2015


     [ https://issues.jboss.org/browse/CDI-506?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Antoine Sabot-Durand resolved CDI-506.
--------------------------------------
         Assignee: Antoine Sabot-Durand
    Fix Version/s: 2.0-EDR1
       Resolution: Done


> '10.4.4. Conditional observer methods' - specifies incorrect Element name for @Observes annotation
> --------------------------------------------------------------------------------------------------
>
>                 Key: CDI-506
>                 URL: https://issues.jboss.org/browse/CDI-506
>             Project: CDI Specification Issues
>          Issue Type: Bug
>         Environment: --NA-- (Documentation issue)
>            Reporter: Abhishek Gupta
>            Assignee: Antoine Sabot-Durand
>             Fix For: 2.0-EDR1
>
>
> Section 10.4.4. Conditional observer methods' - specifies 'receive' as the element name for the @Observes annotation. The correct element should be 'notifyObserver' as per Javadocs http://bit.ly/16PfyhD
> public void refreshOnDocumentUpdate(@Observes(notifyObserver=IF_EXISTS) @Updated Document doc)



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the cdi-dev mailing list