Collapse Hierarchy
From CSSEMediaWiki
(Difference between revisions)
m (Reverted edits by Ebybymic (Talk); changed back to last version by Brett Ward) |
|||
Line 3: | Line 3: | ||
This means using several refactorings to complete the task, depending on whether you merge from superclass to subclass, or subclass to superclass | This means using several refactorings to complete the task, depending on whether you merge from superclass to subclass, or subclass to superclass | ||
− | + | == See Also: == | |
* [[Pull Up Field]] | * [[Pull Up Field]] | ||
* [[Pull Up Method]] | * [[Pull Up Method]] | ||
Line 10: | Line 10: | ||
{{Refactoring}} | {{Refactoring}} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Latest revision as of 03:22, 25 November 2010
If a superclass and a subclass are rather similar, simply merge them together.
This means using several refactorings to complete the task, depending on whether you merge from superclass to subclass, or subclass to superclass
See Also: