Defensive Copy

See: http://java.sun.com/developer/JDCTechTips/2001/tt0904.html and ReturnNewObjectsFromAccessorMethods

It is often a good idea to consider ImmutableObjects to eliminate the need for defensive copies.


EditText of this page (last edited November 15, 2012) or FindPage with title or text search