logback-android/src/main/java/ch/qos/logback/core/net/server/ServerSocketListener.java
private String socketAddressToString(SocketAddress address) {
    String addr = address.toString();
    int i = addr.indexOf("/");
    if (i >= 0) {
      addr = addr.substring(i + 1);
    }
    return addr;
  }
private String socketAddressToString(SocketAddress address) {
    String addr = address.toString();
    int i = addr.indexOf("/");
    if (i >= 0) {
      addr = addr.substring(i + 1);
    }
    return addr;
  }
private String socketAddressToString ( SocketAddress address ) { String addr = address . toString ( ) ; int i = addr . indexOf ( "/" ) ; if ( i >= 0 ) { addr = addr . substring ( i + 1 ) ; } return addr ; }
Converts a socket address to a reasonable display string.
@param address the subject socket address
@return display string
Converts a socket address to a reasonable display string .