Signed-off-by: sodanotgreen <limengzheng@huawei.com>
This commit is contained in:
sodanotgreen 2024-07-31 10:45:55 +08:00
parent 1b7b2a21bc
commit d4c4e1edab
2 changed files with 3 additions and 3 deletions

View File

@ -138,7 +138,7 @@ bool ConnectServerManager::StoreInstanceMessage(int32_t tid, int32_t instanceId,
auto result = instanceMap_.try_emplace(instanceId, std::make_pair(instanceName, tid));
if (!result.second) {
TAG_LOGW(AAFwkTag::JSRUNTIME,
"Instance %{public}d already added", instanceId);
"Instance %{public}d added", instanceId);
return false;
}
}
@ -314,7 +314,7 @@ void ConnectServerManager::RemoveInstance(int32_t instanceId)
std::lock_guard<std::mutex> lock(mutex_);
auto it = instanceMap_.find(instanceId);
if (it == instanceMap_.end()) {
TAG_LOGW(AAFwkTag::JSRUNTIME, "Instance %{public}d is not found",
TAG_LOGW(AAFwkTag::JSRUNTIME, "Instance %{public}d not found",
instanceId);
return;
}

View File

@ -226,7 +226,7 @@ void AssetHelper::operator()(const std::string& uri, uint8_t** buff, size_t* buf
// 2.2 start with /modulename
// 2.3 start with @namespace
// 2.4 start with modulename
TAG_LOGD(AAFwkTag::JSRUNTIME, "The application is packaged using esmodule mode");
TAG_LOGD(AAFwkTag::JSRUNTIME, "esmodule mode");
if (uri.find(BUNDLE_NAME_FLAG) == 0) {
TAG_LOGD(AAFwkTag::JSRUNTIME, "uri start with @bundle:");
size_t fileNamePos = uri.find_last_of("/");