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

Abhishek Gupta (JIRA) issues at jboss.org
Tue Feb 10 11:58:48 EST 2015


Abhishek Gupta created CDI-506:
----------------------------------

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


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.11#6341)


More information about the cdi-dev mailing list