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

Matej Novotny (JIRA) issues at jboss.org
Wed Aug 31 09:00:01 EDT 2016


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

Matej Novotny commented on CDI-621:
-----------------------------------

bq. Maybe at a later point you can change other things...
At that later point, should it ever come to that, you need merely mark {{removeAll}} as deprecated and delegate its' call to newly created {{removeAllAnnotations}} method.
But if you really feel like having it right away makes things easier, I am not against it. From my POV its not such a big deal.

> 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
(v6.4.11#64026)


More information about the cdi-dev mailing list