From ee1e4139279e8889ef7075d13dedfa7ddc32d3b6 Mon Sep 17 00:00:00 2001 From: Alec Grieser Date: Mon, 24 Jul 2017 10:09:54 -0700 Subject: [PATCH] fix whitespace issues --- bindings/java/fdbJNI.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/bindings/java/fdbJNI.cpp b/bindings/java/fdbJNI.cpp index bd6070dca3..e58cb84e77 100644 --- a/bindings/java/fdbJNI.cpp +++ b/bindings/java/fdbJNI.cpp @@ -125,13 +125,13 @@ static void callCallback( FDBFuture* f, void* data ) { // of these per external client and cache it, so we *should* // be fine. if( g_jvm != 0 && g_jvm->AttachCurrentThreadAsDaemon((void **) &g_thread_jenv, JNI_NULL) == JNI_OK ) { - if( !findCallbackMethods( g_thread_jenv ) ) { - g_thread_jenv->FatalError("FDB: Could not find callback method.\n"); - } - } else { - // Can't call FatalError, because we don't have a pointer to the jenv... - fprintf(stderr, "FDB: Could not attach external client thread to the JVM as daemon.\n"); - } + if( !findCallbackMethods( g_thread_jenv ) ) { + g_thread_jenv->FatalError("FDB: Could not find callback method.\n"); + } + } else { + // Can't call FatalError, because we don't have a pointer to the jenv... + fprintf(stderr, "FDB: Could not attach external client thread to the JVM as daemon.\n"); + } } jobject callback = (jobject)data; @@ -1076,8 +1076,8 @@ JNIEXPORT void JNICALL Java_com_apple_cie_foundationdb_FDB_Network_1stop(JNIEnv } jint JNI_OnLoad(JavaVM *vm, void *reserved) { - g_jvm = vm; - return JNI_VERSION_1_1; + g_jvm = vm; + return JNI_VERSION_1_1; } #ifdef __cplusplus