]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[148-lib-process-servers-without-arguments] trailing spaces
authorFrancis Dupont <fdupont@isc.org>
Wed, 17 Oct 2018 13:59:50 +0000 (15:59 +0200)
committerFrancis Dupont <fdupont@isc.org>
Fri, 19 Oct 2018 21:35:35 +0000 (23:35 +0200)
src/lib/process/config_ctl_info.cc
src/lib/process/config_ctl_parser.cc
src/lib/process/config_ctl_parser.h
src/lib/process/d_cfg_mgr.h
src/lib/process/d_process.h
src/lib/process/log_parser.cc

index 7cd9ad02f3a3a5afe72815406842ffee782ee261..9d841346919edc34ef9476f61e4a89fcec0164a9 100644 (file)
@@ -102,7 +102,7 @@ ConfigControlInfo::toElement() const {
     return(result);
 }
 
-bool 
+bool
 ConfigControlInfo::equals(const ConfigControlInfo& other) const {
    return (db_infos_ == other.db_infos_);
 }
index a27228e25df9696fb6ef544f7755a831740b1c9d..4474876e8ed8b2351a2da84d577be866cff845e2 100644 (file)
@@ -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")) {
index e898456a76e447a1e6ef285d2325d2569ba21584..4182a1908e52cb380a6aee75cb4009a97828a94b 100644 (file)
@@ -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);
index 5847ec30b77f3cfbf5d88e1a07591771c6f56987..7242908fad01b9e6d53f321f3d89799cf305c6ca 100644 (file)
@@ -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.
 ///
index d7c58d9f0219a896da49e3bceee10b3cc2fbb8ec..dfb1f66561658c206118abb9651c6bdc2b2d126b 100644 (file)
@@ -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.
index 47f340b6790e76323bd55e674004a255bbd65e60..95acfc89860cf5d8aeed1de67e6a4f2984621c00 100644 (file)
@@ -114,7 +114,7 @@ void LogConfigParser::parseConfigEntry(isc::data::ConstElementPtr entry) {
     if (output_options) {
         parseOutputOptions(info.destinations_, output_options);
     }
-    
+
     config_->addLoggingInfo(info);
 }