Hide Method
From CSSEMediaWiki
Revision as of 21:51, 14 October 2009 by Brett Ward (Talk | contribs)
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: