/guava/guava/src/com/google/common/net/InetAddresses.java
String initialPart = lastColon.substring( 0, ipString + 1) ;
String initialPart = ipString.substring ( 0, lastColon + 1 ) ;
} return rawBytes.array(); } @CheckForNull private static String convertDottedQuadToHex(String ipString) { int lastColon = ipString.lastIndexOf(':'); <extra_id_0> String dottedQuad = ipString.substring(lastColon + 1); byte[] quad = textToNumericFormatV4(dottedQuad); if (quad == null) { return null; } String penultimate = Integer.toHexString(((quad[0] & 0xff) << 8) | (quad[1] & 0xff));