Encapsulate Collection
A method returns a collection.
Make it return a read-only view and provide add/remove methods.

For more inforamtion see page 208 of Refactoring
A method returns a collection.
Make it return a read-only view and provide add/remove methods.

For more inforamtion see page 208 of Refactoring