[cdi-dev] [JBoss JIRA] (CDI-621) removeAll() method is ambiguous in multiple configurators.

Martin Kouba (JIRA) issues at jboss.org
Wed Aug 31 07:28:02 EDT 2016

    [ https://issues.jboss.org/browse/CDI-621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13286653#comment-13286653 ] 

Martin Kouba commented on CDI-621:

Yes, only annotations of the type and its members. The sets of members are immutable (mentioned in javadoc) and the same applies to streams. If it's not clear we should mention this in the class javadoc and improve the "AnnotatedTypeConfigurator SPI" section.

> removeAll() method is ambiguous in multiple configurators.
> ----------------------------------------------------------
>                 Key: CDI-621
>                 URL: https://issues.jboss.org/browse/CDI-621
>             Project: CDI Specification Issues
>          Issue Type: Clarification
>            Reporter: John Ament
> The method removeAll is ambiguous.  This problem doesn't exist for remove(Annotation) or remove(Class) since they're type safe.  The removeAll method presupposes that annotations are the only thing to configure.

This message was sent by Atlassian JIRA

More information about the cdi-dev mailing list