Fix format

This commit is contained in:
Radek Hubner 2024-07-02 16:43:44 +02:00
parent 383ce59798
commit a6c5c60200
1 changed files with 1 additions and 1 deletions

View File

@ -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");
} }