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 97257f1 commit 9d3ba7f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/io/vertx/proton/impl/ProtonTransport.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
import io.vertx.core.Handler;
import io.vertx.core.Vertx;
import io.vertx.core.buffer.Buffer;
import io.vertx.core.buffer.impl.BufferInternal;
import io.vertx.core.net.impl.NetSocketInternal;
import io.vertx.core.impl.logging.Logger;
import io.vertx.core.impl.logging.LoggerFactory;
Expand Down Expand Up @@ -251,7 +252,7 @@ private void pumpInbound(Buffer buffer) {

// Lets push bytes from vert.x to proton engine.
try {
ByteBuf data = buffer.getByteBuf();
ByteBuf data = ((BufferInternal)buffer).getByteBuf();
do {
ByteBuffer transportBuffer = transport.tail();

Expand Down

0 comments on commit 9d3ba7f

Please sign in to comment.