private static String toString(String attName,java.lang.Object obj){
  if (okToDisplayPropertyValue(attName)) {
    if (obj == null) {
      return "";
    }
    if (obj instanceof InetAddress) {
      return InetAddressUtil.toString(obj);
    }
    return obj.toString();
  }
 else {
    return OBFUSCATED_STRING;
  }
}

private static String toString ( String attName , java . lang . Object obj ) { if ( okToDisplayPropertyValue ( attName ) ) { if ( obj == null ) { return "" ; } if ( obj instanceof InetAddress ) { return InetAddressUtil . toString ( obj ) ; } return obj . toString ( ) ; } else { return OBFUSCATED_STRING ; } }
returns string representation of the specified object with special handling for inetaddress .
