[
https://issues.apache.org/jira/browse/CXF-4932?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sergey Beryozkin resolved CXF-4932.
-----------------------------------
Resolution: Fixed
Fix Version/s: 2.8.0
Assignee: Sergey Beryozkin
Patch has been applied, thanks. FYI, in one case they use a 'default' attribute
to document the purpose of the parameter which is not correct, it compiles, but
the generated code looks a bit strange :-)
> Illegal method arguments generated by Wadl2Java
> -----------------------------------------------
>
> Key: CXF-4932
> URL: https://issues.apache.org/jira/browse/CXF-4932
> Project: CXF
> Issue Type: Bug
> Components: Tooling
> Affects Versions: 2.7.3
> Reporter: Emmanuel Texier
> Assignee: Sergey Beryozkin
> Labels: patch
> Fix For: 2.8.0
>
> Attachments: SourceGenerator.java.patch, twitter-wadl.xml
>
>
> I am trying to generate the JAX-RS interfaces from a public twitter wadl .
> The generated methods contained arguments that conflicted with java reserved
> keywords (ex: String long), or illegal ":" (ex: String
> attribute:street_adress) .
> I looked at the original code (SourceGenerator.java), and will attach a
> proposed patch that seems to work for me
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira