EncapsulateField
Last edit October 25, 2009
Described on page 206 of
MartinFowler
's
RefactoringImprovingTheDesignOfExistingCode
:
"There is a public field."
"Make it private and provide accessors."
http://www.refactoring.com/catalog/encapsulateField.html