summaryrefslogtreecommitdiff
path: root/src/components/policy/policy_external/src/policy_table/validation.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/policy/policy_external/src/policy_table/validation.cc')
-rw-r--r--src/components/policy/policy_external/src/policy_table/validation.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/components/policy/policy_external/src/policy_table/validation.cc b/src/components/policy/policy_external/src/policy_table/validation.cc
index fad8509711..f9c3f82793 100644
--- a/src/components/policy/policy_external/src/policy_table/validation.cc
+++ b/src/components/policy/policy_external/src/policy_table/validation.cc
@@ -1,15 +1,15 @@
-#include <iostream>
#include <algorithm>
+#include <iostream>
#include "policy/policy_table/types.h"
-#include "utils/logger.h"
#include "utils/helpers.h"
+#include "utils/logger.h"
namespace {
bool IsPredefinedApplication(const std::string& app_id) {
using namespace rpc::policy_table_interface_base;
return kPreDataConsentApp == app_id || kDefaultApp == app_id;
}
-}
+} // namespace
namespace rpc {
namespace policy_table_interface_base {
@@ -102,9 +102,9 @@ bool ApplicationPoliciesSection::Validate() const {
}
if (!app_request_types.is_valid()) {
- LOG4CXX_WARN(logger_,
- "Invalid RequestTypes for " << app_id
- << " Will be cleaned up.");
+ LOG4CXX_WARN(
+ logger_,
+ "Invalid RequestTypes for " << app_id << " Will be cleaned up.");
app_request_types.CleanUp();
if (app_request_types.is_cleaned_up()) {
if (PT_PRELOADED == pt_type) {