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

John Ament (JIRA) issues at jboss.org
Wed Aug 31 07:16:02 EDT 2016

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

John Ament commented on CDI-621:

Take a look at https://github.com/cdi-spec/cdi/blob/2.0-EDR2/api/src/main/java/javax/enterprise/inject/spi/builder/AnnotatedTypeConfigurator.java and let me know if you think as a user, you're only configuring annotations.

> 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