Skip to content

Commit d5a0263

Browse files
committed
Disable checkstyle about channel close
Signed-off-by: raccoonback <[email protected]>
1 parent e79694d commit d5a0263

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

reactor-netty-http/src/main/java/reactor/netty/http/Http2ConnectionLiveness.java

+1
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ public Http2ConnectionLiveness(
112112
* @param ctx the {@link ChannelHandlerContext} of the connection
113113
*/
114114
@Override
115+
@SuppressWarnings("FutureReturnValueIgnored")
115116
public void check(ChannelHandlerContext ctx) {
116117
if (isPingIntervalConfigured()) {
117118
if (pingScheduler == null) {

reactor-netty-http/src/main/java/reactor/netty/http/HttpConnectionImmediateClose.java

+1
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ public void receive(Object msg) {
6363
* @param ctx the {@link ChannelHandlerContext} of the connection
6464
*/
6565
@Override
66+
@SuppressWarnings("FutureReturnValueIgnored")
6667
public void check(ChannelHandlerContext ctx) {
6768
ctx.close();
6869
}

0 commit comments

Comments
 (0)