Fix coding rule 37/241037/1
authorJunghyun Yeon <jungh.yeon@samsung.com>
Fri, 14 Aug 2020 02:24:52 +0000 (11:24 +0900)
committerJunghyun Yeon <jungh.yeon@samsung.com>
Fri, 14 Aug 2020 04:32:13 +0000 (13:32 +0900)
Change-Id: Iab77a94e962dfe6c4d2b27c801dda19767009b11
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
src/common/dependency_checker.cc
src/common/shared_dirs.h
src/pkg_recovery/pkg_recovery.cc

index d4d04bb..8f28e78 100644 (file)
@@ -4,6 +4,8 @@
 
 #include "common/dependency_checker.h"
 
+#include <boost/filesystem/path.hpp>
+
 #include <pkgmgr-info.h>
 
 #include <manifest_parser/utils/logging.h>
@@ -19,8 +21,6 @@
 #include <utility>
 #include <vector>
 
-#include <boost/filesystem/path.hpp>
-
 #include "common/archive_info.h"
 #include "common/utils/pkgmgr_query.h"
 
index 389a552..3d1f606 100644 (file)
@@ -78,7 +78,8 @@ bool CreatePerUserStorageDirectories(const std::string& pkgid,
                                      bool trusted, bool shareddata,
                                      bool is_readonly,
                                      const std::vector<const char*>
-                                     additional_dirs = std::vector<const char*>());
+                                     additional_dirs =
+                                         std::vector<const char*>());
 
 /**
  * \brief Creates storage directories in path
index 52c6faa..0ba257e 100644 (file)
@@ -134,7 +134,6 @@ void PkgRecoveryService::SearchBackupFiles(uid_t uid) {
     for (bf::directory_iterator iter(recovery_dir);
         iter != bf::directory_iterator();
         ++iter) {
-
       std::string file = iter->path().filename().string();
       std::regex backup_regex(kBackupFilePattern);
       std::smatch match;