Browse Source

[3268] Fixed a couple of typos during a review.

Marcin Siodelski 11 years ago
parent
commit
e76ef58ca3

+ 2 - 2
src/bin/d2/d2_cfg_mgr.h

@@ -53,7 +53,7 @@ public:
         return (DCfgContextBasePtr(new D2CfgContext(*this)));
     }
 
-    /// @brief Fetches a reference to the D2params
+    /// @brief Fetches a reference to the D2Params
     D2ParamsPtr& getD2Params() {
         return (d2_params_);
     }
@@ -243,7 +243,7 @@ protected:
     ///
     /// Iterates over the set of parameters, creating a parser based on the
     /// parameter's id and then invoking its build method passing in the
-    /// paramter's configuration value.
+    /// parameter's configuration value.
     ///
     /// @param params_config set of scalar configuration elements to parse
     virtual void buildParams(isc::data::ConstElementPtr params_config);

+ 2 - 2
src/bin/d2/d2_config.cc

@@ -38,8 +38,8 @@ const char *D2Params::DFT_NCR_FORMAT = "JSON";
 D2Params::D2Params(const isc::asiolink::IOAddress& ip_address,
                    const size_t port,
                    const size_t dns_server_timeout,
-                   const dhcp_ddns:: NameChangeProtocol& ncr_protocol,
-                   const dhcp_ddns:: NameChangeFormat& ncr_format)
+                   const dhcp_ddns::NameChangeProtocol& ncr_protocol,
+                   const dhcp_ddns::NameChangeFormat& ncr_format)
     : ip_address_(ip_address),
     port_(port),
     dns_server_timeout_(dns_server_timeout),

+ 2 - 2
src/bin/d2/d2_process.cc

@@ -1,4 +1,4 @@
-// Copyright (C) 2013  Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2013-2014  Internet Systems Consortium, Inc. ("ISC")
 //
 // Permission to use, copy, modify, and/or distribute this software for any
 // purpose with or without fee is hereby granted, provided that the above
@@ -207,7 +207,7 @@ D2Process::configure(isc::data::ConstElementPtr config_set) {
 
     if (rcode) {
         // Non-zero means we got an invalid configuration, take no further
-        // action.  In integrated mode, this will send a failed response back
+        // action. In integrated mode, this will send a failed response back
         // to BIND10.
         reconf_queue_flag_ = false;
         return (answer);

+ 1 - 1
src/bin/d2/tests/d2_cfg_mgr_unittests.cc

@@ -39,7 +39,7 @@ class D2CfgMgrTest : public ConfigParseTest {
 public:
 
     /// @brief Constructor
-    D2CfgMgrTest():cfg_mgr_(new D2CfgMgr), d2_params_() {
+    D2CfgMgrTest():cfg_mgr_(new D2CfgMgr()), d2_params_() {
     }
 
     /// @brief Destructor