Java: Refactoring Methods »
By admin on Nov 5, 2008 in Java, Refactoring | 0 Comments
Here are the guidelines that we follow to refactor the methods in one of the legacy Java application, simplified from Martin Fowler refactoring book.
Rename a method to server its purpose
Add a parameter to the method if it is required
Remove a parameter if it is not required
Separate query from modifier and let each method does it […]
