[cdi-dev] [JBoss JIRA] (CDI-528) Minor inconsistency in Built-in qualifiers chapter

Tomas Remes (JIRA) issues at jboss.org
Tue May 26 05:33:19 EDT 2015


Tomas Remes created CDI-528:
-------------------------------

             Summary: Minor inconsistency in Built-in qualifiers chapter
                 Key: CDI-528
                 URL: https://issues.jboss.org/browse/CDI-528
             Project: CDI Specification Issues
          Issue Type: Clarification
            Reporter: Tomas Remes
            Priority: Minor


2.3.1. Built-in qualifier types states:
{quote}
If a bean does not explicitly declare a qualifier other than @Named , the bean has exactly one additional qualifier, of type @Default .
{quote}

This means that following bean has @Named, @Default, @Any qualifiers:
{code}
@Named
public class Dog {}
{code}
 but this one is not required to have @Default qualifier:
{code}
@Named
@Any
public class Dog {}
{code}
It doesn't make much sense IMHO. 





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


More information about the cdi-dev mailing list