[cdi-dev] [JBoss JIRA] (CDI-621) AnnotatedTypeConfigurator.removeAll() method can lead to ambiguities

Martin Kouba (JIRA) issues at jboss.org
Wed Aug 31 06:47:01 EDT 2016


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

Martin Kouba edited comment on CDI-621 at 8/31/16 6:46 AM:
-----------------------------------------------------------

Well, the point is the {{AnnotatedTypeConfigurator}} and friends ({{AnnotatedMethodConfigurator}}, etc.) can ONLY be used to modify/configure annotations. So it's implicit. Also the javadoc is clear. 


was (Author: mkouba):
Well, the point is the {{AnnotatedTypeConfigurator}} and firends ({{AnnotatedMethodConfigurator}}, ...) can ONLY be used to modify/configure annotations. So it's implicit. Also the javadoc is clear. 

> AnnotatedTypeConfigurator.removeAll() method can lead to ambiguities
> --------------------------------------------------------------------
>
>                 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