Pull Up Method
From CSSEMediaWiki
(Difference between revisions)
m (Reverted edits by Ebybymic (Talk); changed back to last version by Brett Ward) |
|||
Line 3: | Line 3: | ||
You may also need to use [[Pull Up Field]] if these methods use a subclass field. | You may also need to use [[Pull Up Field]] if these methods use a subclass field. | ||
− | + | == See Also == | |
{{Refactoring}} | {{Refactoring}} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
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