[
https://issues.apache.org/jira/browse/BCEL-165?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Emmanuel Bourg resolved BCEL-165.
---------------------------------
Resolution: Fixed
Fix Version/s: 6.0
The patch has been applied, thank you very much Charles.
> getAnnotationEntries methods in JavaClass and FieldOrMethod duplicate code
> --------------------------------------------------------------------------
>
> Key: BCEL-165
> URL: https://issues.apache.org/jira/browse/BCEL-165
> Project: Commons BCEL
> Issue Type: Bug
> Components: Main
> Affects Versions: unspecified
> Environment: Operating System: All
> Platform: Macintosh
> Reporter: Charles Honton
> Assignee: Apache Commons Developers
> Fix For: 6.0
>
> Attachments: refactorGetAnnotations.diff
>
>
> JavaClass.getAnnotationEntries() and FieldOrMethod.getAnnotationEntries() are
> overly complex.
> FieldOrMethod.addAnnotationEntry() appears to be in the wrong place -
> FieldGenOrMethodGen.addAnnotationEntry() is the proper method to use.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)