Apply coding rules 86/194986/1
authorilho <ilho159.kim@samsung.com>
Mon, 10 Dec 2018 05:22:47 +0000 (14:22 +0900)
committerilho <ilho159.kim@samsung.com>
Mon, 10 Dec 2018 05:22:47 +0000 (14:22 +0900)
Change-Id: I397d258aca69fb861fee63fee38f3019a60bdf42
Signed-off-by: ilho <ilho159.kim@samsung.com>
src/common/step/pkgmgr/step_run_parser_plugins.cc

index 7b82d5b..7435eae 100644 (file)
@@ -58,10 +58,10 @@ Step::Status StepRunParserPlugin::process() {
 Step::Status StepRunParserPlugin::undo() {
   // For update, we need to reread configuration of old version of widget
   // so running whole process from beginning
-  if (action_type_ == Plugin::ActionType::Install)
+  if (action_type_ == Plugin::ActionType::Install) {
     ProcessPlugins(context_->xml_path.get(), context_->manifest_data.get(),
                    Plugin::ActionType::Undo);
-  else if (action_type_ == Plugin::ActionType::Upgrade) {
+  else if (action_type_ == Plugin::ActionType::Upgrade) {
     plugin_manager_.release();
     ProcessPlugins(context_->backup_xml_path.get(),
                    context_->old_manifest_data.get(),