Skip to content

Commit

Permalink
fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
hubgeter committed Nov 19, 2024
1 parent 8f7fc5f commit 4ef15a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions be/src/util/jvm_metrics.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -485,8 +485,8 @@ Status JvmStats::refresh(JvmMetrics* jvm_metrics) const {
jvm_metrics->jvm_thread_count->set_value(threadCount < 0 ? 0 : threadCount);

for (int i = 0; i < threadCount; i++) {
JNI_CALL_METHOD_CHECK_EXCEPTION_DELETE_REF(jobject, threadInfo, env,
GetObjectArrayElement((jobjectArray)threadInfos, i));
JNI_CALL_METHOD_CHECK_EXCEPTION_DELETE_REF(
jobject, threadInfo, env, GetObjectArrayElement((jobjectArray)threadInfos, i));

if (threadInfo == nullptr) {
continue;
Expand Down

0 comments on commit 4ef15a0

Please sign in to comment.