diff --git a/src/main/java/org/jboss/netty/handler/codec/socks/SocksAuthRequestDecoder.java b/src/main/java/org/jboss/netty/handler/codec/socks/SocksAuthRequestDecoder.java index 62e40859fc..c5f1da667d 100644 --- a/src/main/java/org/jboss/netty/handler/codec/socks/SocksAuthRequestDecoder.java +++ b/src/main/java/org/jboss/netty/handler/codec/socks/SocksAuthRequestDecoder.java @@ -28,6 +28,10 @@ import org.jboss.netty.util.CharsetUtil; public class SocksAuthRequestDecoder extends ReplayingDecoder { private static final String name = "SOCKS_AUTH_REQUEST_DECODER"; + /** + * @deprecated Will be removed at the next minor version bump. + */ + @Deprecated public static String getName() { return name; } diff --git a/src/main/java/org/jboss/netty/handler/codec/socks/SocksAuthResponseDecoder.java b/src/main/java/org/jboss/netty/handler/codec/socks/SocksAuthResponseDecoder.java index 86a82da32e..6363b6fa44 100644 --- a/src/main/java/org/jboss/netty/handler/codec/socks/SocksAuthResponseDecoder.java +++ b/src/main/java/org/jboss/netty/handler/codec/socks/SocksAuthResponseDecoder.java @@ -27,6 +27,10 @@ import org.jboss.netty.handler.codec.replay.ReplayingDecoder; public class SocksAuthResponseDecoder extends ReplayingDecoder { private static final String name = "SOCKS_AUTH_RESPONSE_DECODER"; + /** + * @deprecated Will be removed at the next minor version bump. + */ + @Deprecated public static String getName() { return name; } diff --git a/src/main/java/org/jboss/netty/handler/codec/socks/SocksCmdRequestDecoder.java b/src/main/java/org/jboss/netty/handler/codec/socks/SocksCmdRequestDecoder.java index 612e0b069a..0d91b94cdb 100644 --- a/src/main/java/org/jboss/netty/handler/codec/socks/SocksCmdRequestDecoder.java +++ b/src/main/java/org/jboss/netty/handler/codec/socks/SocksCmdRequestDecoder.java @@ -28,6 +28,10 @@ import org.jboss.netty.util.CharsetUtil; public class SocksCmdRequestDecoder extends ReplayingDecoder { private static final String name = "SOCKS_CMD_REQUEST_DECODER"; + /** + * @deprecated Will be removed at the next minor version bump. + */ + @Deprecated public static String getName() { return name; } diff --git a/src/main/java/org/jboss/netty/handler/codec/socks/SocksCmdResponseDecoder.java b/src/main/java/org/jboss/netty/handler/codec/socks/SocksCmdResponseDecoder.java index c11f0b25e0..992bb8a49b 100644 --- a/src/main/java/org/jboss/netty/handler/codec/socks/SocksCmdResponseDecoder.java +++ b/src/main/java/org/jboss/netty/handler/codec/socks/SocksCmdResponseDecoder.java @@ -28,6 +28,10 @@ import org.jboss.netty.util.CharsetUtil; public class SocksCmdResponseDecoder extends ReplayingDecoder { private static final String name = "SOCKS_CMD_RESPONSE_DECODER"; + /** + * @deprecated Will be removed at the next minor version bump. + */ + @Deprecated public static String getName() { return name; } diff --git a/src/main/java/org/jboss/netty/handler/codec/socks/SocksInitRequestDecoder.java b/src/main/java/org/jboss/netty/handler/codec/socks/SocksInitRequestDecoder.java index 4ac76f1049..43a615a56f 100644 --- a/src/main/java/org/jboss/netty/handler/codec/socks/SocksInitRequestDecoder.java +++ b/src/main/java/org/jboss/netty/handler/codec/socks/SocksInitRequestDecoder.java @@ -30,6 +30,10 @@ import java.util.List; public class SocksInitRequestDecoder extends ReplayingDecoder { private static final String name = "SOCKS_INIT_REQUEST_DECODER"; + /** + * @deprecated Will be removed at the next minor version bump. + */ + @Deprecated public static String getName() { return name; } diff --git a/src/main/java/org/jboss/netty/handler/codec/socks/SocksInitResponseDecoder.java b/src/main/java/org/jboss/netty/handler/codec/socks/SocksInitResponseDecoder.java index 41f7ebefe2..56c29f71c5 100644 --- a/src/main/java/org/jboss/netty/handler/codec/socks/SocksInitResponseDecoder.java +++ b/src/main/java/org/jboss/netty/handler/codec/socks/SocksInitResponseDecoder.java @@ -27,6 +27,10 @@ import org.jboss.netty.handler.codec.replay.ReplayingDecoder; public class SocksInitResponseDecoder extends ReplayingDecoder { private static final String name = "SOCKS_INIT_RESPONSE_DECODER"; + /** + * @deprecated Will be removed at the next minor version bump. + */ + @Deprecated public static String getName() { return name; } diff --git a/src/main/java/org/jboss/netty/handler/codec/socks/SocksMessageEncoder.java b/src/main/java/org/jboss/netty/handler/codec/socks/SocksMessageEncoder.java index 9df2bc58cc..1e32b4f141 100644 --- a/src/main/java/org/jboss/netty/handler/codec/socks/SocksMessageEncoder.java +++ b/src/main/java/org/jboss/netty/handler/codec/socks/SocksMessageEncoder.java @@ -33,6 +33,10 @@ public class SocksMessageEncoder extends OneToOneEncoder { private static final String name = "SOCKS_MESSAGE_ENCODER"; private static final int DEFAULT_ENCODER_BUFFER_SIZE = 1024; + /** + * @deprecated Will be removed at the next minor version bump. + */ + @Deprecated public static String getName() { return name; }