[
https://issues.jboss.org/browse/FORGE-275?page=com.atlassian.jira.plugin....
]
Shameera Rathanayaka updated FORGE-275:
---------------------------------------
Attachment: Forge-275.patch
Hi devs ,
I have attached patch for this. Here i have remove associated getters and setters as the
way Rodney suggest and also update the toString method also. Please give me a little
feedback on this patch, whether i have done it correct way or not. Because of this
modification rm test will fail, i'll fix it ASA and provide a patch if this patch is
ok.
Thanks,
Shameera.
delete associated methods when deleting a field
-----------------------------------------------
Key: FORGE-275
URL:
https://issues.jboss.org/browse/FORGE-275
Project: Forge
Issue Type: Feature Request
Components: Brainstorming, Builtin Plugins
Affects Versions: 1.0.0.Alpha2, 1.0.0.Alpha3
Reporter: Rodney Russ
Priority: Minor
Attachments: Forge-275.patch
When removing a field, it would make sense to remove the associated methods. For
example:
cd Person.java
rm firstName
*delete associated methods setFirstName() and getFirstName() (Y/n)?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira