From 1b8e8ce6f150c6badfd0bd318df932e5d5940335 Mon Sep 17 00:00:00 2001 From: Trustin Lee Date: Tue, 20 Jan 2015 16:46:51 +0900 Subject: [PATCH] Make NetUtil.isValidIp4Word() private We have deprecated NetUtil.isValidIp4Word() in 4.0. See: - b0747e743251c786ddd1a6d524af6b34303bd4a3 --- common/src/main/java/io/netty/util/NetUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/main/java/io/netty/util/NetUtil.java b/common/src/main/java/io/netty/util/NetUtil.java index 20659c9e7d..d357c7e3f1 100644 --- a/common/src/main/java/io/netty/util/NetUtil.java +++ b/common/src/main/java/io/netty/util/NetUtil.java @@ -554,7 +554,7 @@ public final class NetUtil { return true; } - public static boolean isValidIp4Word(String word) { + private static boolean isValidIp4Word(String word) { char c; if (word.length() < 1 || word.length() > 3) { return false;