From dab02bea7743cee786515116302abd982f6764da Mon Sep 17 00:00:00 2001 From: Francis Dupont Date: Wed, 17 Oct 2018 15:59:50 +0200 Subject: [PATCH] [148-lib-process-servers-without-arguments] trailing spaces --- src/lib/process/config_ctl_info.cc | 2 +- src/lib/process/config_ctl_parser.cc | 2 +- src/lib/process/config_ctl_parser.h | 4 ++-- src/lib/process/d_cfg_mgr.h | 4 ++-- src/lib/process/d_process.h | 20 ++++++++++---------- src/lib/process/log_parser.cc | 2 +- 6 files changed, 17 insertions(+), 17 deletions(-) diff --git a/src/lib/process/config_ctl_info.cc b/src/lib/process/config_ctl_info.cc index 7cd9ad02f3..9d84134691 100644 --- a/src/lib/process/config_ctl_info.cc +++ b/src/lib/process/config_ctl_info.cc @@ -102,7 +102,7 @@ ConfigControlInfo::toElement() const { return(result); } -bool +bool ConfigControlInfo::equals(const ConfigControlInfo& other) const { return (db_infos_ == other.db_infos_); } diff --git a/src/lib/process/config_ctl_parser.cc b/src/lib/process/config_ctl_parser.cc index a27228e25d..4474876e8e 100644 --- a/src/lib/process/config_ctl_parser.cc +++ b/src/lib/process/config_ctl_parser.cc @@ -19,7 +19,7 @@ namespace process { ConfigControlInfoPtr ConfigControlParser::parse(const data::ConstElementPtr& config_control) { - ConfigControlInfoPtr ctl_info(new ConfigControlInfo()); + ConfigControlInfoPtr ctl_info(new ConfigControlInfo()); try { if (config_control->contains("config-databases")) { diff --git a/src/lib/process/config_ctl_parser.h b/src/lib/process/config_ctl_parser.h index e898456a76..4182a1908e 100644 --- a/src/lib/process/config_ctl_parser.h +++ b/src/lib/process/config_ctl_parser.h @@ -20,10 +20,10 @@ public: /// @brief Parses a configuration control Element /// - /// @param config_control Element holding the config control content + /// @param config_control Element holding the config control content /// to be parsed. /// - /// @return Pointer to newly created ConfigControlInfo instance + /// @return Pointer to newly created ConfigControlInfo instance /// @throw DhcpConfigError when config control content is invalid. ConfigControlInfoPtr parse(const data::ConstElementPtr& config_control); diff --git a/src/lib/process/d_cfg_mgr.h b/src/lib/process/d_cfg_mgr.h index 5847ec30b7..7242908fad 100644 --- a/src/lib/process/d_cfg_mgr.h +++ b/src/lib/process/d_cfg_mgr.h @@ -77,8 +77,8 @@ public: /// This allows a derivation to specify the order in which its elements are /// parsed if there are dependencies between elements. /// -/// To parse a given element, its id along with the element itself, -/// is passed into the virtual method, @c parseElement. Derivations are +/// To parse a given element, its id along with the element itself, +/// is passed into the virtual method, @c parseElement. Derivations are /// expected to converts the element into application specific object(s), /// thereby isolating the CPL from application details. /// diff --git a/src/lib/process/d_process.h b/src/lib/process/d_process.h index d7c58d9f02..dfb1f66561 100644 --- a/src/lib/process/d_process.h +++ b/src/lib/process/d_process.h @@ -76,7 +76,7 @@ public: /// configuration parsing. /// /// @throw DProcessBaseError is io_service is NULL. - DProcessBase(const char* app_name, asiolink::IOServicePtr io_service, + DProcessBase(const char* app_name, asiolink::IOServicePtr io_service, DCfgMgrBasePtr cfg_mgr) : app_name_(app_name), io_service_(io_service), shut_down_flag_(false), cfg_mgr_(cfg_mgr) { @@ -103,20 +103,20 @@ public: /// @throw DProcessBaseError if an operational error is encountered. virtual void run() = 0; - /// @brief Initiates the process's shutdown process. - /// - /// This is last step in the shutdown event callback chain, that is + /// @brief Initiates the process's shutdown process. + /// + /// This is last step in the shutdown event callback chain, that is /// intended to notify the process it is to begin its shutdown process. /// /// @param args an Element set of shutdown arguments (if any) that are - /// supported by the process derivation. - /// + /// supported by the process derivation. + /// /// @return an Element that contains the results of argument processing, - /// consisting of an integer status value (0 means successful, - /// non-zero means failure), and a string explanation of the outcome. - /// + /// consisting of an integer status value (0 means successful, + /// non-zero means failure), and a string explanation of the outcome. + /// /// @throw DProcessBaseError if an operational error is encountered. - virtual isc::data::ConstElementPtr + virtual isc::data::ConstElementPtr shutdown(isc::data::ConstElementPtr args) = 0; /// @brief Processes the given configuration. diff --git a/src/lib/process/log_parser.cc b/src/lib/process/log_parser.cc index 47f340b679..95acfc8986 100644 --- a/src/lib/process/log_parser.cc +++ b/src/lib/process/log_parser.cc @@ -114,7 +114,7 @@ void LogConfigParser::parseConfigEntry(isc::data::ConstElementPtr entry) { if (output_options) { parseOutputOptions(info.destinations_, output_options); } - + config_->addLoggingInfo(info); } -- 2.47.2