From 8a16e27a08144ec65beaac2575aaaf87b1912db6 Mon Sep 17 00:00:00 2001 From: Vibhatha Lakmal Abeykoon Date: Tue, 3 Sep 2024 13:07:26 +0530 Subject: [PATCH] fix: adding deprecated tag and info --- .../src/main/java/io/netty/buffer/NettyArrowBuf.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/memory/memory-netty-buffer-patch/src/main/java/io/netty/buffer/NettyArrowBuf.java b/java/memory/memory-netty-buffer-patch/src/main/java/io/netty/buffer/NettyArrowBuf.java index 76e7bfefc6b27..9319d15aaa9a9 100644 --- a/java/memory/memory-netty-buffer-patch/src/main/java/io/netty/buffer/NettyArrowBuf.java +++ b/java/memory/memory-netty-buffer-patch/src/main/java/io/netty/buffer/NettyArrowBuf.java @@ -49,7 +49,7 @@ public class NettyArrowBuf extends AbstractByteBuf implements AutoCloseable { * @param length The length of this buffer. * @deprecated Use {@link #NettyArrowBuf(ArrowBuf, BufferAllocator, long)} instead. */ - @Deprecated + @Deprecated(forRemoval = true) public NettyArrowBuf( final ArrowBuf arrowBuf, final BufferAllocator bufferAllocator, final int length) { this(arrowBuf, bufferAllocator, (long) length);