Push Down Field
From CSSEMediaWiki
(Difference between revisions)
m (Reverted edits by Ebybymic (Talk); changed back to last version by Brett Ward) |
|||
Line 1: | Line 1: | ||
If a field is in the superclass, and only some of the subclasses use it, the field should be moved to the relevant subclasses and removed from the superclass. | If a field is in the superclass, and only some of the subclasses use it, the field should be moved to the relevant subclasses and removed from the superclass. | ||
− | + | == See Also == | |
{{Refactoring}} | {{Refactoring}} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Latest revision as of 03:23, 25 November 2010
If a field is in the superclass, and only some of the subclasses use it, the field should be moved to the relevant subclasses and removed from the superclass.
See Also