lidavidm commented on code in PR #775:
URL: https://github.com/apache/arrow-java/pull/775#discussion_r2119844335


##########
vector/src/main/java/org/apache/arrow/vector/BaseValueVector.java:
##########
@@ -110,7 +110,14 @@ protected ArrowBuf releaseBuffer(ArrowBuf buffer) {
     return buffer;
   }
 
-  /* number of bytes for the validity buffer for the given valueCount */
+  /**
+   * Compute the size of validity buffer required to manage a given number of 
elements in a vector.
+   *
+   * @param valueCount number of elements in the vector
+   * @return buffer size
+   * @deprecated -- use {@link BitVectorHelper#getValidityBufferSizeFromCount} 
instead.
+   */
+  @Deprecated

Review Comment:
   ```suggestion
     @Deprecated(forRemoval = true, since = "18.4.0")
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to