question: private static boolean isSame ( Object obj1 , Object obj2 ) { if ( obj1 == null ) { return ( obj2 == null ) ; } else if ( obj2 == null ) { return ( obj1 == null ) ; } return obj1 . equals ( obj2 ) ; }
target:  Compares two object including the scenario one of them is null (thus avoiding equals pitfalls)