Searched refs:ipPattern (Results 1 – 1 of 1) sorted by relevance
31 private static Pattern ipPattern; field in AddressUtils53 Pattern ipPattern = AddressUtils.ipPattern; in isLiteralIpAddress() local54 if (ipPattern == null) { in isLiteralIpAddress()55 AddressUtils.ipPattern = ipPattern = Pattern.compile(IP_PATTERN); in isLiteralIpAddress()57 return ipPattern.matcher(hostname).matches(); in isLiteralIpAddress()