You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Diane So (JIRA)" <ji...@apache.org> on 2013/04/12 01:13:15 UTC
[jira] [Commented] (CXF-4899) Boolean getter plugin does not leave
isXXX() method.
[ https://issues.apache.org/jira/browse/CXF-4899?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13629543#comment-13629543 ]
Diane So commented on CXF-4899:
-------------------------------
Should the plugin only change the isXXX() to getXXX() for the Boolean type, and not the primitive boolean type. Currently the -Xbg changes it for Boolean and boolean. The code I'm dealing with expects getXXX() for Boolean and isXXX() for boolean.
Was this the expected behaviour of -Xbg?
I suppose the -Xbgi would work by having both isXXX() and getXXX().
Thanks.
> 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