diff --git a/frameworks/kits/appkit/native/ability_runtime/context/js_hap_module_info_utils.cpp b/frameworks/kits/appkit/native/ability_runtime/context/js_hap_module_info_utils.cpp index 16e2947f42..572e564406 100644 --- a/frameworks/kits/appkit/native/ability_runtime/context/js_hap_module_info_utils.cpp +++ b/frameworks/kits/appkit/native/ability_runtime/context/js_hap_module_info_utils.cpp @@ -32,7 +32,6 @@ NativeValue* CreateJsHapModuleInfo(NativeEngine& engine, AppExecFwk::HapModuleIn object->SetProperty("label", CreateJsValue(engine, hapModuleInfo.label)); object->SetProperty("backgroundImg", CreateJsValue(engine, hapModuleInfo.backgroundImg)); object->SetProperty("mainAbilityName", CreateJsValue(engine, hapModuleInfo.mainAbility)); - // object->SetProperty("srcPath", CreateJsValue(engine, hapModuleInfo.srcPath)); // d.ts no have object->SetProperty("supportedModes", CreateJsValue(engine, hapModuleInfo.supportedModes)); NativeValue *capArrayValue = engine.CreateArray(hapModuleInfo.reqCapabilities.size()); diff --git a/interfaces/innerkits/uri/include/uri.h b/interfaces/innerkits/uri/include/uri.h index 14048b7ec5..03ba96cb31 100644 --- a/interfaces/innerkits/uri/include/uri.h +++ b/interfaces/innerkits/uri/include/uri.h @@ -210,4 +210,4 @@ private: size_t cachedFsi_; }; } // namespace OHOS -#endif // #ifndef UTILS_NATIVE_INCLUDE_URI_H_ +#endif // UTILS_NATIVE_INCLUDE_URI_H_ diff --git a/services/abilitymgr/test/mock/libs/appexecfwk_core/include/appmgr/app_mgr_client.h b/services/abilitymgr/test/mock/libs/appexecfwk_core/include/appmgr/app_mgr_client.h index 7ad8cb18e2..1a41f5ba59 100644 --- a/services/abilitymgr/test/mock/libs/appexecfwk_core/include/appmgr/app_mgr_client.h +++ b/services/abilitymgr/test/mock/libs/appexecfwk_core/include/appmgr/app_mgr_client.h @@ -21,7 +21,6 @@ #include "ability_info.h" #include "application_info.h" -// #include "app_mgr_constants.h" #include "iapp_state_callback.h" #include "running_process_info.h" #include "want.h" diff --git a/services/dataobsmgr/src/dataobs_mgr_service.cpp b/services/dataobsmgr/src/dataobs_mgr_service.cpp index f5f0d8ef0c..1f48c949ad 100644 --- a/services/dataobsmgr/src/dataobs_mgr_service.cpp +++ b/services/dataobsmgr/src/dataobs_mgr_service.cpp @@ -25,7 +25,6 @@ #include "hilog_wrapper.h" #include "if_system_ability_manager.h" #include "ipc_skeleton.h" -// #include "sa_mgr_client.h" #include "system_ability_definition.h" namespace OHOS { diff --git a/services/formmgr/include/form_db_info.h b/services/formmgr/include/form_db_info.h index 38c13d0af1..deb1ba586c 100644 --- a/services/formmgr/include/form_db_info.h +++ b/services/formmgr/include/form_db_info.h @@ -347,9 +347,6 @@ public: private: FormDBInfo formDBInfo_; }; - -// void to_json(nlohmann::json &jsonObject, const FormDBInfo &info); -// void from_json(const nlohmann::json &jsonObject, FormDBInfo &info); } // namespace AppExecFwk } // namespace OHOS #endif // FOUNDATION_APPEXECFWK_SERVICES_FORMMGR_INCLUDE_INNER_FORM_INFO_H diff --git a/services/formmgr/test/mock/include/mock_form_host_client.h b/services/formmgr/test/mock/include/mock_form_host_client.h index 1c4c4fce1a..10d8d1887a 100644 --- a/services/formmgr/test/mock/include/mock_form_host_client.h +++ b/services/formmgr/test/mock/include/mock_form_host_client.h @@ -17,7 +17,6 @@ #define FOUNDATION_APPEXECFWK_OHOS_FORM_HOST_CLIENT_H #include -// #include "ability.h" #include "form_host_stub.h" #include "iremote_object.h" #include "iremote_stub.h" diff --git a/services/formmgr/test/unittest/fms_form_data_mgr_test/fms_form_data_mgr_test.cpp b/services/formmgr/test/unittest/fms_form_data_mgr_test/fms_form_data_mgr_test.cpp index 4f656ee0a7..bb1d55a5cb 100644 --- a/services/formmgr/test/unittest/fms_form_data_mgr_test/fms_form_data_mgr_test.cpp +++ b/services/formmgr/test/unittest/fms_form_data_mgr_test/fms_form_data_mgr_test.cpp @@ -13,7 +13,6 @@ * limitations under the License. */ -// #include #include #include #include diff --git a/services/formmgr/test/unittest/fms_form_db_record_test/fms_form_db_record_test.cpp b/services/formmgr/test/unittest/fms_form_db_record_test/fms_form_db_record_test.cpp index 9a105df23e..5514c6ca8d 100644 --- a/services/formmgr/test/unittest/fms_form_db_record_test/fms_form_db_record_test.cpp +++ b/services/formmgr/test/unittest/fms_form_db_record_test/fms_form_db_record_test.cpp @@ -13,7 +13,6 @@ * limitations under the License. */ -// #include #include #include #include diff --git a/tools/fm/src/fms_command.cpp b/tools/fm/src/fms_command.cpp index 507d607d10..1408c004a0 100644 --- a/tools/fm/src/fms_command.cpp +++ b/tools/fm/src/fms_command.cpp @@ -62,7 +62,6 @@ ErrCode FormMgrShellCommand::CreateCommandMap() commandMap_ = { {"help", std::bind(&FormMgrShellCommand::RunAsHelpCommand, this)}, {"query", std::bind(&FormMgrShellCommand::RunAsQueryCommand, this)}, - // {"dump", std::bind(&FormMgrShellCommand::RunAsDumpCommand, this)}, }; return OHOS::ERR_OK;