public static String toString(final Object obj) {
    return (obj == null ? null : obj.toString());
  }
Null-safe implementation of the Object.toString method.
<p>

@param obj the Object on which to call toString.
@return the String representation of the specified Object or null if the Object reference is
        null.
@see java.lang.Object#toString()
geode-core/src/main/java/org/apache/geode/internal/lang/ObjectUtils.java