A nice reference - http://hoskinator.blogspot.com/2006/07/what-is-defensive-copying.html Defensive coding - http://www.javacodegeeks.com/2012/03/defensive-programming-being-just-enough.html