Skip to content

Commit a3571b4

Browse files
committed
Update to Netty API removal from public API
1 parent 56a568e commit a3571b4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/test/java/io/vertx/redis/client/impl/BufferTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
import io.netty.buffer.Unpooled;
44
import io.vertx.core.buffer.Buffer;
5+
import io.vertx.core.buffer.impl.BufferInternal;
56
import io.vertx.redis.client.Command;
67
import io.vertx.redis.client.Request;
78
import org.junit.Test;
@@ -117,7 +118,7 @@ public void testAppendStringToBytes() {
117118
public void testAppendBufferWrapped() {
118119
Charset UTF8 = StandardCharsets.UTF_8;
119120
Request hmset = Request.cmd(Command.HMSET);
120-
Buffer key = Buffer.buffer(Unpooled.wrappedBuffer(UTF8.encode("my-key")));
121+
Buffer key = BufferInternal.buffer(Unpooled.wrappedBuffer(UTF8.encode("my-key")));
121122

122123
for (int i = 0; i < iterations; i++) {
123124
hmset.arg(key).arg(i);

0 commit comments

Comments
 (0)