diff --git a/proxy-protocol/Constants.java b/proxy-protocol/Constants.java deleted file mode 100644 index d15aee5..0000000 --- a/proxy-protocol/Constants.java +++ /dev/null @@ -1,13 +0,0 @@ -package org.fengfei.lanproxy.server; - -import io.netty.channel.Channel; -import io.netty.util.AttributeKey; - -public interface Constants { - - public static final AttributeKey NEXT_CHANNEL = AttributeKey.newInstance("nxt_channel"); - - public static final AttributeKey USER_ID = AttributeKey.newInstance("user_id"); - - public static final AttributeKey CLIENT_KEY = AttributeKey.newInstance("client_key"); -} diff --git a/proxy-protocol/src/main/java/org/fengfei/lanproxy/protocol/Constants.java b/proxy-protocol/src/main/java/org/fengfei/lanproxy/protocol/Constants.java index d4c4317..ac095e6 100644 --- a/proxy-protocol/src/main/java/org/fengfei/lanproxy/protocol/Constants.java +++ b/proxy-protocol/src/main/java/org/fengfei/lanproxy/protocol/Constants.java @@ -5,9 +5,9 @@ import io.netty.util.AttributeKey; public interface Constants { - public static final AttributeKey NEXT_CHANNEL = AttributeKey.newInstance("nxt_channel"); + AttributeKey NEXT_CHANNEL = AttributeKey.newInstance("nxt_channel"); - public static final AttributeKey USER_ID = AttributeKey.newInstance("user_id"); + AttributeKey USER_ID = AttributeKey.newInstance("user_id"); - public static final AttributeKey CLIENT_KEY = AttributeKey.newInstance("client_key"); + AttributeKey CLIENT_KEY = AttributeKey.newInstance("client_key"); }