Encapsulate Field

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


EditText of this page (last edited October 25, 2009) or FindPage with title or text search