only show localization warnings in debug mode

This commit is contained in:
CodeCodon
2015-07-29 10:22:49 -05:00
parent efaba4af08
commit 86018dc233
@@ -100,11 +100,12 @@ jstring JNICALL ScriptMethodsStringNamespace::getString(JNIEnv *env, jobject sel
JavaString result(localized);
return result.getReturnValue();
}
#ifdef DEBUG
else
{
WARNING(true, ("JavaLibrary::log failed to localize the stringId(%s, %s)", table.c_str(), asciiId.c_str()));
}
#endif
return 0;
} // JavaLibrary::getString