Make NetUtil.isValidIp4Word() private

We have deprecated NetUtil.isValidIp4Word() in 4.0. See:

- b0747e7432
This commit is contained in:
Trustin Lee 2015-01-20 16:46:51 +09:00
parent 1403962313
commit 1b8e8ce6f1

View File

@ -554,7 +554,7 @@ public final class NetUtil {
return true; return true;
} }
public static boolean isValidIp4Word(String word) { private static boolean isValidIp4Word(String word) {
char c; char c;
if (word.length() < 1 || word.length() > 3) { if (word.length() < 1 || word.length() > 3) {
return false; return false;