@Test public void testCreateInetAddress_host() { if (in.split(",").length > 0) { InetSocketAddress actual = createInetSocketAddress(in.split(",")[0]); if (expected != null) { assertEquals(expected.getAddress(), actual.getAddress()); assertEquals(expected.getPort(), actual.getPort()); assertEquals(expected, actual); } } }
public static InetSocketAddress createInetSocketAddress(String address) { return createInetSocketAddress(address, 0); }
InetSocketAddressUtils { public static InetSocketAddress createInetSocketAddress(String address) { return createInetSocketAddress(address, 0); } }
InetSocketAddressUtils { public static InetSocketAddress createInetSocketAddress(String address) { return createInetSocketAddress(address, 0); } private  InetSocketAddressUtils(); }
InetSocketAddressUtils { public static InetSocketAddress createInetSocketAddress(String address) { return createInetSocketAddress(address, 0); } private  InetSocketAddressUtils(); static String asString(SocketAddress socketAddress); static InetSocketAddress[] parseAddressList(String[] addresses); static InetSocketAddress createInetSocketAddress(String address); static InetSocketAddress createInetSocketAddress(String address, int defaultPort); }
InetSocketAddressUtils { public static InetSocketAddress createInetSocketAddress(String address) { return createInetSocketAddress(address, 0); } private  InetSocketAddressUtils(); static String asString(SocketAddress socketAddress); static InetSocketAddress[] parseAddressList(String[] addresses); static InetSocketAddress createInetSocketAddress(String address); static InetSocketAddress createInetSocketAddress(String address, int defaultPort);  }