Skip to content

Commit

Permalink
Fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
rhubner committed Aug 29, 2024
1 parent 73e8a12 commit 9947574
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion java/rocksjni/jni_merge_operator_v2.cc
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ JniMergeOperatorV2::JniMergeOperatorV2(JNIEnv* env, jobject java_merge_operator,
}
j_merge_class = static_cast<jclass>(env->NewGlobalRef(j_merge_class));
if (j_merge_class == nullptr) {
if(env->ExceptionCheck() == JNI_FALSE) {
if (env->ExceptionCheck() == JNI_FALSE) {
RocksDBExceptionJni::ThrowNew(
env, "Unable to obtain GlobalRef for merge operator");
}
Expand Down

0 comments on commit 9947574

Please sign in to comment.