You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Elmehdi Damou (JIRA)" <ji...@apache.org> on 2012/12/06 09:44:57 UTC
[jira] [Closed] (FELIX-3805) Manipulator generate a duplicated
method signature
[ https://issues.apache.org/jira/browse/FELIX-3805?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Elmehdi Damou closed FELIX-3805.
--------------------------------
Resolution: Duplicate
> Manipulator generate a duplicated method signature
> --------------------------------------------------
>
> Key: FELIX-3805
> URL: https://issues.apache.org/jira/browse/FELIX-3805
> Project: Felix
> Issue Type: Bug
> Components: iPOJO
> Affects Versions: maven-ipojo-plugin-1.8.2
> Reporter: Elmehdi Damou
>
> To reproduce the error :
> Declare a field in a component classname starting with capital letter ex :
> private String UID;
> Then create getter and setter for this field just like this :
> public void setUID(String uID) {
> UID = uID;
> }
> public String getUID() {
> return UID;
> }
> after the ipojo plugin manipulation, you will have methods with the same signature in the manipulated class :
> public void setUID(java.lang.String s) { /* compiled code */ }
> public java.lang.String getUID() { /* compiled code */ }
> java.lang.String __getUID() { /* compiled code */ }
>
> void __setUID(java.lang.String s) { /* compiled code */ }
>
> private java.lang.String __getUID() { /* compiled code */ }
>
> private void __setUID(java.lang.String uID) { /* compiled code */ }
--
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