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
This commit is contained in:
Andrea Cavalli 2021-12-16 10:57:40 -08:00 committed by Facebook GitHub Bot
parent 5383f1eec4
commit 9918e1ee5a
1 changed files with 3 additions and 3 deletions

View File

@ -23,7 +23,7 @@ public class KeyMayExist {
return Objects.hash(exists, valueLength); return Objects.hash(exists, valueLength);
} }
enum KeyMayExistEnum { kNotExist, kExistsWithoutValue, kExistsWithValue } public enum KeyMayExistEnum { kNotExist, kExistsWithoutValue, kExistsWithValue }
; ;
public KeyMayExist(final KeyMayExistEnum exists, final int valueLength) { public KeyMayExist(final KeyMayExistEnum exists, final int valueLength) {
@ -31,6 +31,6 @@ public class KeyMayExist {
this.valueLength = valueLength; this.valueLength = valueLength;
} }
final KeyMayExistEnum exists; public final KeyMayExistEnum exists;
final int valueLength; public final int valueLength;
} }