Skip to content

Commit

Permalink
Update to Netty API removal from public API
Browse files Browse the repository at this point in the history
  • Loading branch information
vietj committed Jul 26, 2023
1 parent 56a568e commit a3571b4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/test/java/io/vertx/redis/client/impl/BufferTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit a3571b4

Please sign in to comment.