Pull Up Method
From CSSEMediaWiki
(Difference between revisions)
Brett Ward (Talk | contribs) (Page Outline Added) |
m (Reverted edits by Ebybymic (Talk); changed back to last version by Brett Ward) |
(One intermediate revision by one user not shown) |
Latest revision as of 03:23, 25 November 2010
Another instance of eliminating duplicate behaviours, this refactoring takes methods that produce the same results in seperate subclasses and moves them to the superclass.
You may also need to use Pull Up Field if these methods use a subclass field.
See Also