Make NetUtil.isValidIp4Word() private
We have deprecated NetUtil.isValidIp4Word() in 4.0. See: - b0747e743251c786ddd1a6d524af6b34303bd4a3
This commit is contained in:
parent
70541eb72f
commit
279187ba5e
@ -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…
x
Reference in New Issue
Block a user