Remove duplicate (#2597)

This commit is contained in:
minggo
2020-06-19 11:07:21 +08:00
committed by GitHub
parent edac81cc04
commit 7efee066fd
86 changed files with 852 additions and 1081 deletions
@@ -48,7 +48,7 @@ JNIEXPORT jint JNICALL JNI_JSJAVABRIDGE(evalString)
(JNIEnv *env, jclass cls, jstring value)
{
if (!se::ScriptEngine::getInstance()->isValid()) {
CCLOG("ScriptEngine has not been initialized");
CC_LOG_DEBUG("ScriptEngine has not been initialized");
return 0;
}
@@ -57,7 +57,7 @@ JNIEXPORT jint JNICALL JNI_JSJAVABRIDGE(evalString)
std::string strValue = cc::StringUtils::getStringUTFCharsJNI(env, value, &strFlag);
if (!strFlag)
{
CCLOG("JavaScriptJavaBridge_evalString error, invalid string code");
CC_LOG_DEBUG("JavaScriptJavaBridge_evalString error, invalid string code");
return 0;
}
se::ScriptEngine::getInstance()->evalString(strValue.c_str());