Skip to content

Commit dd2730c

Browse files
committed
fix
1 parent 75874a7 commit dd2730c

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

pom.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
<configuration>
5151
<skipTests>true</skipTests>
5252
</configuration>
53+
<version>2.21.0</version>
5354
</plugin>
5455
<plugin>
5556
<groupId>org.apache.maven.plugins</groupId>
@@ -74,7 +75,7 @@
7475
<execution>
7576
<id>build-server</id>
7677
<configuration>
77-
<appendAssemblyId>false</appendAssemblyId>
78+
<!--<appendAssemblyId>false</appendAssemblyId>-->
7879
<archive>
7980
<manifest>
8081
<mainClass>love.wangqi.GatewayServerDemo</mainClass>

src/main/java/love/wangqi/context/HttpRequestContext.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ public ConcurrentHashMap<String, Object> getContext(Channel channel) {
3939
return channelContext.get(channel);
4040
}
4141

42+
@SuppressWarnings("unchecked")
4243
public <T> T get(Channel channel, String key) {
4344
ConcurrentHashMap<String, Object> context = getContext(channel);
4445
return context == null ? null : (T) context.get(key);

0 commit comments

Comments
 (0)