[
https://issues.jboss.org/browse/CDI-621?page=com.atlassian.jira.plugin.sy...
]
John Ament commented on CDI-621:
--------------------------------
Its not clear from looking at the method name that only the annotations are removed. It
might be better to call it something like {{clearAnnotations}} or similar. As mentioned,
the other two are not an issue, since they're explicitly taking annotation parameters
when doing their remove. Again, this is all from my POV.
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)