cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Freeman Fang (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CXF-4899) Boolean getter plugin does not leave isXXX() method.
Date Thu, 28 Mar 2013 10:07:15 GMT

     [ https://issues.apache.org/jira/browse/CXF-4899?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Freeman Fang resolved CXF-4899.
-------------------------------

    Resolution: Fixed

add -Xbgi xjc plugin which can match both getXXX and isXXX method for boolean in xsd based
on Alec Bickerton's patch, also add a testcase

http://svn.apache.org/r1461998

This would be in cxf xjc-utils 2.6.2
                
> Boolean getter plugin does not leave isXXX() method.
> ----------------------------------------------------
>
>                 Key: CXF-4899
>                 URL: https://issues.apache.org/jira/browse/CXF-4899
>             Project: CXF
>          Issue Type: Improvement
>          Components: Tooling
>    Affects Versions: 2.6.5
>            Reporter: Alec Bickerton
>            Assignee: Freeman Fang
>              Labels: patch
>         Attachments: BooleanGetterPlugin.java.patch
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> When using the Boolean getter plugin to generate a Boolean getter method in the generated
code, the original isXXX method is replaced. 
> In small code bases this would be fine, unfortunately I need those is methods as there
is a significant amount of legacy code relies on this method.
> e.g. Spring MVC

--
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

Mime
View raw message