From 9918e1ee5af6bf766f5e01e817108a46958c52aa Mon Sep 17 00:00:00 2001 From: Andrea Cavalli Date: Thu, 16 Dec 2021 10:57:40 -0800 Subject: [PATCH] Set KeyMayExist fields visibility to public (#9285) Summary: Fixes https://github.com/facebook/rocksdb/issues/9284 Pull Request resolved: https://github.com/facebook/rocksdb/pull/9285 Reviewed By: pdillinger Differential Revision: D33062006 Pulled By: mrambacher fbshipit-source-id: c3471c2db717fa5bc2337cf996ce744af0ed877d --- java/src/main/java/org/rocksdb/KeyMayExist.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/java/src/main/java/org/rocksdb/KeyMayExist.java b/java/src/main/java/org/rocksdb/KeyMayExist.java index dcc6e4da3..36185d8c9 100644 --- a/java/src/main/java/org/rocksdb/KeyMayExist.java +++ b/java/src/main/java/org/rocksdb/KeyMayExist.java @@ -23,7 +23,7 @@ public class KeyMayExist { return Objects.hash(exists, valueLength); } - enum KeyMayExistEnum { kNotExist, kExistsWithoutValue, kExistsWithValue } + public enum KeyMayExistEnum { kNotExist, kExistsWithoutValue, kExistsWithValue } ; public KeyMayExist(final KeyMayExistEnum exists, final int valueLength) { @@ -31,6 +31,6 @@ public class KeyMayExist { this.valueLength = valueLength; } - final KeyMayExistEnum exists; - final int valueLength; + public final KeyMayExistEnum exists; + public final int valueLength; }