Skip to content

Commit 07f3237

Browse files
committed
This deprecation is likely to be lifted
1 parent ea8efac commit 07f3237

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

client/src/main/java/org/asynchttpclient/netty/channel/ChannelManager.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,7 @@ public boolean remove(Object o) {
189189
}
190190

191191
private Bootstrap newBootstrap(Class<? extends Channel> socketChannelClass, EventLoopGroup eventLoopGroup, AsyncHttpClientConfig config) {
192+
@SuppressWarnings("deprecation")
192193
Bootstrap bootstrap = new Bootstrap().channel(socketChannelClass).group(eventLoopGroup)//
193194
// default to PooledByteBufAllocator
194195
.option(ChannelOption.ALLOCATOR, PooledByteBufAllocator.DEFAULT)//

0 commit comments

Comments
 (0)