Skip to content

Commit 0a3b6db

Browse files
wendigomartint
authored andcommitted
Update to Netty 4.2.6 and use default Allocator
1 parent c6c7b87 commit 0a3b6db

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

drift-transport-netty/src/main/java/io/airlift/drift/transport/netty/client/DriftNettyClientModule.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
import io.airlift.drift.transport.client.DriftClientConfig;
2828
import io.airlift.drift.transport.client.MethodInvokerFactory;
2929
import io.netty.buffer.ByteBufAllocator;
30-
import io.netty.buffer.PooledByteBufAllocator;
3130
import jakarta.annotation.PreDestroy;
3231

3332
import java.lang.annotation.Annotation;
@@ -43,7 +42,7 @@ public class DriftNettyClientModule
4342

4443
public DriftNettyClientModule()
4544
{
46-
this(PooledByteBufAllocator.DEFAULT);
45+
this(ByteBufAllocator.DEFAULT);
4746
}
4847

4948
@VisibleForTesting

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
<dependency>
6666
<groupId>io.netty</groupId>
6767
<artifactId>netty-bom</artifactId>
68-
<version>4.2.1.Final</version>
68+
<version>4.2.6.Final</version>
6969
<type>pom</type>
7070
<scope>import</scope>
7171
</dependency>

0 commit comments

Comments
 (0)