From b0747e743251c786ddd1a6d524af6b34303bd4a3 Mon Sep 17 00:00:00 2001 From: Trustin Lee Date: Tue, 20 Jan 2015 16:44:19 +0900 Subject: [PATCH] Deprecate NetUtil.isIp4Word() NetUtil.isIp4Word() was meant to be a utility method of other public methods in NetUtil, and was published mistakenly. --- common/src/main/java/io/netty/util/NetUtil.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/common/src/main/java/io/netty/util/NetUtil.java b/common/src/main/java/io/netty/util/NetUtil.java index 4858e645b5..9f63bade48 100644 --- a/common/src/main/java/io/netty/util/NetUtil.java +++ b/common/src/main/java/io/netty/util/NetUtil.java @@ -554,6 +554,10 @@ public final class NetUtil { return true; } + /** + * @deprecated Do not use; published by mistake. + */ + @Deprecated public static boolean isValidIp4Word(String word) { char c; if (word.length() < 1 || word.length() > 3) {