From a3571b49481822759555f1afe381a5ad61b4bc58 Mon Sep 17 00:00:00 2001 From: Julien Viet Date: Wed, 26 Jul 2023 10:09:52 +0200 Subject: [PATCH] Update to Netty API removal from public API --- src/test/java/io/vertx/redis/client/impl/BufferTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/test/java/io/vertx/redis/client/impl/BufferTest.java b/src/test/java/io/vertx/redis/client/impl/BufferTest.java index b86c3ded..2df74a6d 100644 --- a/src/test/java/io/vertx/redis/client/impl/BufferTest.java +++ b/src/test/java/io/vertx/redis/client/impl/BufferTest.java @@ -2,6 +2,7 @@ import io.netty.buffer.Unpooled; import io.vertx.core.buffer.Buffer; +import io.vertx.core.buffer.impl.BufferInternal; import io.vertx.redis.client.Command; import io.vertx.redis.client.Request; import org.junit.Test; @@ -117,7 +118,7 @@ public void testAppendStringToBytes() { public void testAppendBufferWrapped() { Charset UTF8 = StandardCharsets.UTF_8; Request hmset = Request.cmd(Command.HMSET); - Buffer key = Buffer.buffer(Unpooled.wrappedBuffer(UTF8.encode("my-key"))); + Buffer key = BufferInternal.buffer(Unpooled.wrappedBuffer(UTF8.encode("my-key"))); for (int i = 0; i < iterations; i++) { hmset.arg(key).arg(i);