File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/test/java/io/vertx/redis/client/impl Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 22
33import io .netty .buffer .Unpooled ;
44import io .vertx .core .buffer .Buffer ;
5+ import io .vertx .core .buffer .impl .BufferInternal ;
56import io .vertx .redis .client .Command ;
67import io .vertx .redis .client .Request ;
78import 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 );
You can’t perform that action at this time.
0 commit comments