summaryrefslogtreecommitdiff
path: root/src/components/application_manager/src/commands/mobile/on_command_notification.cc
diff options
context:
space:
mode:
authorKozoriz <kozorizandriy@gmail.com>2016-04-25 16:39:26 +0300
committerKozoriz <kozorizandriy@gmail.com>2016-04-25 16:39:26 +0300
commit990bee92cc9d67f9845629bf86e0a700ccc700ce (patch)
tree2feedfc333dfd6af412db96e189c941b367e08c7 /src/components/application_manager/src/commands/mobile/on_command_notification.cc
parent388ef32944603a105ed34db4aa089acf5a7a87fd (diff)
downloadsdl_core-990bee92cc9d67f9845629bf86e0a700ccc700ce.tar.gz
Code style format with clang-format
Diffstat (limited to 'src/components/application_manager/src/commands/mobile/on_command_notification.cc')
-rw-r--r--src/components/application_manager/src/commands/mobile/on_command_notification.cc16
1 files changed, 7 insertions, 9 deletions
diff --git a/src/components/application_manager/src/commands/mobile/on_command_notification.cc b/src/components/application_manager/src/commands/mobile/on_command_notification.cc
index 5a9070d1af..ae8aeff771 100644
--- a/src/components/application_manager/src/commands/mobile/on_command_notification.cc
+++ b/src/components/application_manager/src/commands/mobile/on_command_notification.cc
@@ -39,12 +39,11 @@ namespace application_manager {
namespace commands {
-OnCommandNotification::OnCommandNotification(const MessageSharedPtr& message, ApplicationManager& application_manager)
- : CommandNotificationImpl(message, application_manager) {
-}
+OnCommandNotification::OnCommandNotification(
+ const MessageSharedPtr& message, ApplicationManager& application_manager)
+ : CommandNotificationImpl(message, application_manager) {}
-OnCommandNotification::~OnCommandNotification() {
-}
+OnCommandNotification::~OnCommandNotification() {}
void OnCommandNotification::Run() {
LOG4CXX_AUTO_TRACE(logger_);
@@ -57,12 +56,11 @@ void OnCommandNotification::Run() {
return;
}
- const uint32_t cmd_id = (*message_)[strings::msg_params][strings::cmd_id]
- .asUInt();
+ const uint32_t cmd_id =
+ (*message_)[strings::msg_params][strings::cmd_id].asUInt();
if (!app->FindCommand(cmd_id)) {
- LOG4CXX_ERROR(logger_,
- " No applications found for the command " << cmd_id);
+ LOG4CXX_ERROR(logger_, " No applications found for the command " << cmd_id);
return;
}