Move Method

A method is, or will be, using or used by more features of another class than the class on which it is defined.

Crete a new method with a similar body in the class it uses most. Either turn the old method into a simple delegation, or remove it altogether.
posted @ 2007-04-28 14:59  南守拥  阅读(120)  评论(0编辑  收藏  举报