Hide Method
From CSSEMediaWiki
(Difference between revisions)
Brett Ward (Talk | contribs) (New page: This refactoring is simply making a method private if it is only used within the class that contains it, and thus no other class needs access to it. Martin Fowler recommends using a t...) |
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:22, 25 November 2010
This refactoring is simply making a method private if it is only used within the class that contains it, and thus no other class needs access to it.
Martin Fowler recommends using a tool or using manual checks to see if methods can be made private.
See Also: