Searched refs:ipPattern (Results 1 – 2 of 2) sorted by relevance
31 private static Pattern ipPattern; field in AddressUtils56 Pattern ipPattern = AddressUtils.ipPattern; in isLiteralIpAddress() local57 if (ipPattern == null) { in isLiteralIpAddress()58 AddressUtils.ipPattern = ipPattern = Pattern.compile(IP_PATTERN); in isLiteralIpAddress()60 return ipPattern.matcher(hostname).matches(); in isLiteralIpAddress()
33 private static Pattern ipPattern; field in AddressUtils56 Pattern ipPattern = AddressUtils.ipPattern; in isLiteralIpAddress() local57 if (ipPattern == null) { in isLiteralIpAddress()58 AddressUtils.ipPattern = ipPattern = Pattern.compile(IP_PATTERN); in isLiteralIpAddress()60 return ipPattern.matcher(hostname).matches(); in isLiteralIpAddress()