mirror of https://github.com/facebook/rocksdb.git
Fix format
This commit is contained in:
parent
383ce59798
commit
a6c5c60200
|
@ -57,7 +57,7 @@ JniMergeOperatorV2::JniMergeOperatorV2(JNIEnv* env, jobject java_merge_operator,
|
||||||
}
|
}
|
||||||
j_merge_class = static_cast<jclass>(env->NewGlobalRef(j_merge_class));
|
j_merge_class = static_cast<jclass>(env->NewGlobalRef(j_merge_class));
|
||||||
if (j_merge_class == nullptr) {
|
if (j_merge_class == nullptr) {
|
||||||
if(env->ExceptionCheck() == JNI_FALSE) {
|
if (env->ExceptionCheck() == JNI_FALSE) {
|
||||||
RocksDBExceptionJni::ThrowNew(
|
RocksDBExceptionJni::ThrowNew(
|
||||||
env, "Unable to obtain GlobalRef for merge operator");
|
env, "Unable to obtain GlobalRef for merge operator");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue