lidavidm commented on code in PR #13146:
URL: https://github.com/apache/arrow/pull/13146#discussion_r872336100
##########
java/dataset/src/main/java/org/apache/arrow/dataset/jni/NativeMemoryPool.java:
##########
@@ -23,7 +23,7 @@
public class NativeMemoryPool implements AutoCloseable {
private final long nativeInstanceId;
- static {
+ private static void ensureLoaded() {
Review Comment:
Is there any reason not to inline this instead?
--
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]