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

Romain Manni-Bucau (JIRA) issues at jboss.org
Wed Aug 31 07:37:00 EDT 2016


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

Romain Manni-Bucau commented on CDI-621:
----------------------------------------

[~mkouba] I tend to join John on that, if you need to check the javadoc to understand what a method does the method is likely badly named. Also the renaming is quite trivial and would benefit user experience in IDE (you dont need to go on all methods to read the javadoc to know which one you need to use)

> 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