Deprecate NetUtil.isIp4Word()
NetUtil.isIp4Word() was meant to be a utility method of other public methods in NetUtil, and was published mistakenly.
This commit is contained in:
parent
718825e0fc
commit
b0747e7432
@ -554,6 +554,10 @@ public final class NetUtil {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @deprecated Do not use; published by mistake.
|
||||||
|
*/
|
||||||
|
@Deprecated
|
||||||
public static boolean isValidIp4Word(String word) {
|
public static boolean isValidIp4Word(String word) {
|
||||||
char c;
|
char c;
|
||||||
if (word.length() < 1 || word.length() > 3) {
|
if (word.length() < 1 || word.length() > 3) {
|
||||||
|
Loading…
Reference in New Issue
Block a user