Parcourir la source

[5100] Spelling, missing space and ignored argument

Francis Dupont il y a 8 ans
Parent
commit
814f4cc41c

+ 2 - 2
src/lib/config/base_command_mgr.cc

@@ -82,7 +82,7 @@ BaseCommandMgr::processCommand(const isc::data::ConstElementPtr& cmd) {
     } catch (const Exception& e) {
         LOG_WARN(command_logger, COMMAND_PROCESS_ERROR2).arg(e.what());
         return (createAnswer(CONTROL_RESULT_ERROR,
-                             std::string("Error during command processing:")
+                             std::string("Error during command processing: ")
                              + e.what()));
     }
 }
@@ -154,7 +154,7 @@ BaseCommandMgr::handleCommand(const std::string& cmd_name,
 
 isc::data::ConstElementPtr
 BaseCommandMgr::listCommandsHandler(const std::string& name,
-                                    const isc::data::ConstElementPtr& params) {
+                                    const isc::data::ConstElementPtr& ) {
     using namespace isc::data;
     ElementPtr commands = Element::createList();
     for (HandlerContainer::const_iterator it = handlers_.begin();

+ 2 - 2
src/lib/config/base_command_mgr.h

@@ -141,9 +141,9 @@ protected:
 
     /// @brief Handles the command having a given name and arguments.
     ///
-    /// This method can be overriden in the derived classes to provide
+    /// This method can be overridden in the derived classes to provide
     /// custom logic for processing commands. For example, the
-    /// @ref HookedCommandMgr extends this method to delegate commmands
+    /// @ref HookedCommandMgr extends this method to delegate commands
     /// processing to a hook library.
     ///
     /// @param cmd_name Command name.

+ 1 - 1
src/lib/config/hooked_command_mgr.h

@@ -49,7 +49,7 @@ private:
     /// @ref BaseCommandMgr::handleCommand is called.
     ///
     /// This method is private because it is its final implementation which
-    /// should not be overriden in the derived classes.
+    /// should not be overridden in the derived classes.
     ///
     /// @param cmd_name Command name.
     /// @param params Command arguments.