Make NetUtil.isValidIp4Word() private
We have deprecated NetUtil.isValidIp4Word() in 4.0. See:
- b0747e7432
This commit is contained in:
parent
1403962313
commit
1b8e8ce6f1
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user