code: public static InetSocketAddress getAddress (String hostname, int port)
      {
          return StringUtil.isBlank(hostname) ?
              new InetSocketAddress(port) : new InetSocketAddress(hostname, port);
      }
docs: Creates a address to the given host, or the wildcard host if the hostname is
  {@link StringUtil#blank}.