Elmehdi Damou created FELIX-3805:
------------------------------------
Summary: 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