Move MethodThe book has now been published and the content of this chapter has likely changed substanstially.
Move a method to a different class.
A method is, or will be, using or used by more features of another class than the class on which it is defined.
Create a new method with a similar body in the class it uses most. Either turn the old method into simple delegation or remove it altogether.
Further ReadingFrom [Ref].
Copyright © 2003-2008 Gerard Meszaros all rights reserved