From: Andrei Pavel Date: Fri, 23 Apr 2021 17:09:02 +0000 (+0300) Subject: [#1821] spelling corrections X-Git-Tag: Kea-1.9.7~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=be137515384c26bb9e60e36d1bf415c09c8e9596;p=thirdparty%2Fkea.git [#1821] spelling corrections --- diff --git a/configure.ac b/configure.ac index 8aa6752599..daf3a9f54f 100644 --- a/configure.ac +++ b/configure.ac @@ -1253,9 +1253,7 @@ if test $enable_gtest != "no"; then CPPFLAGS=$CPPFLAGS_SAVED fi -# ASIO: we extensively use it as the C++ event management module. -# -# Use our 'coroutine' header from ext +# Provide the ability to include our coroutine header or other headers from ext. CPPFLAGS="$CPPFLAGS -I\$(top_srcdir) -I\$(top_builddir)" # Doesn't seem to be required? diff --git a/doc/devel/Doxyfile b/doc/devel/Doxyfile index 855d06767d..579edf2c92 100644 --- a/doc/devel/Doxyfile +++ b/doc/devel/Doxyfile @@ -456,7 +456,7 @@ LOOKUP_CACHE_SIZE = 0 # than 0 to get more control over the balance between CPU load and processing # speed. At this moment only the input processing can be done using multiple # threads. Since this is still an experimental feature the default is set to 1, -# which efficively disables parallel processing. Please report any issues you +# which effectively disables parallel processing. Please report any issues you # encounter. Generating dot graphs in parallel is controlled by the # DOT_NUM_THREADS setting. # Minimum value: 0, maximum value: 32, default value: 1. diff --git a/doc/examples/kea4/advanced.json b/doc/examples/kea4/advanced.json index 2a9fd054a8..a3c4299e23 100644 --- a/doc/examples/kea4/advanced.json +++ b/doc/examples/kea4/advanced.json @@ -72,7 +72,7 @@ "type": "binary" } ], - // We need to specify the the database used to store leases. As of + // We need to specify the database used to store leases. As of // September 2016, four database backends are supported: MySQL, // PostgreSQL, Cassandra, and the in-memory database, Memfile. // We'll use memfile because it doesn't require any prior set up. diff --git a/doc/examples/kea4/leases-expiration.json b/doc/examples/kea4/leases-expiration.json index fe28ad7bac..96300fbf30 100644 --- a/doc/examples/kea4/leases-expiration.json +++ b/doc/examples/kea4/leases-expiration.json @@ -10,7 +10,7 @@ "interfaces": [ "ethX" ] }, -// We need to specify the the database used to store leases. As of +// We need to specify the database used to store leases. As of // September 2016, four database backends are supported: MySQL, // PostgreSQL, Cassandra, and the in-memory database, Memfile. // We'll use memfile because it doesn't require any prior set up. diff --git a/doc/examples/kea4/multiple-options.json b/doc/examples/kea4/multiple-options.json index 27ab77e658..dd3a7cd123 100644 --- a/doc/examples/kea4/multiple-options.json +++ b/doc/examples/kea4/multiple-options.json @@ -9,7 +9,7 @@ "interfaces": [ "ethX" ] }, -// We need to specify the the database used to store leases. As of +// We need to specify the database used to store leases. As of // September 2016, four database backends are supported: MySQL, // PostgreSQL, Cassandra, and the in-memory database, Memfile. // We'll use memfile because it doesn't require any prior set up. diff --git a/doc/examples/kea4/mysql-reservations.json b/doc/examples/kea4/mysql-reservations.json index a03eb077da..d859edd002 100644 --- a/doc/examples/kea4/mysql-reservations.json +++ b/doc/examples/kea4/mysql-reservations.json @@ -11,7 +11,7 @@ }, -// We need to specify the the database used to store leases. As of +// We need to specify the database used to store leases. As of // September 2016, four database backends are supported: MySQL, // PostgreSQL, Cassandra, and the in-memory database, Memfile. // We'll use memfile because it doesn't require any prior set up. diff --git a/doc/examples/kea4/pgsql-reservations.json b/doc/examples/kea4/pgsql-reservations.json index 36d9f3ea93..1ad822f933 100644 --- a/doc/examples/kea4/pgsql-reservations.json +++ b/doc/examples/kea4/pgsql-reservations.json @@ -11,7 +11,7 @@ }, -// We need to specify the the database used to store leases. As of +// We need to specify the database used to store leases. As of // September 2016, four database backends are supported: MySQL, // PostgreSQL, Cassandra, and the in-memory database, Memfile. // We'll use memfile because it doesn't require any prior set up. diff --git a/doc/examples/kea4/reservations.json b/doc/examples/kea4/reservations.json index d8b6b5c00d..0b9437cac7 100644 --- a/doc/examples/kea4/reservations.json +++ b/doc/examples/kea4/reservations.json @@ -9,7 +9,7 @@ "interfaces": [ "ethX" ] }, -// We need to specify the the database used to store leases. As of September +// We need to specify the database used to store leases. As of September // 2016, four database backends are supported: MySQL, PostgreSQL, Cassandra, and // the in-memory database, Memfile. We'll use memfile because it doesn't // require any prior set up. diff --git a/doc/examples/kea4/several-subnets.json b/doc/examples/kea4/several-subnets.json index 1151daff19..37a7a3671b 100644 --- a/doc/examples/kea4/several-subnets.json +++ b/doc/examples/kea4/several-subnets.json @@ -10,7 +10,7 @@ "interfaces": [ "ethX" ] }, -// We need to specify the the database used to store leases. As of +// We need to specify the database used to store leases. As of // September 2016, four database backends are supported: MySQL, // PostgreSQL, Cassandra, and the in-memory database, Memfile. // We'll use memfile because it doesn't require any prior set up. diff --git a/doc/examples/kea4/single-subnet.json b/doc/examples/kea4/single-subnet.json index a71014b856..bcbf864f45 100644 --- a/doc/examples/kea4/single-subnet.json +++ b/doc/examples/kea4/single-subnet.json @@ -10,7 +10,7 @@ "interfaces": [ "ethX" ] }, -// We need to specify the the database used to store leases. As of +// We need to specify the database used to store leases. As of // September 2016, four database backends are supported: MySQL, // PostgreSQL, Cassandra, and the in-memory database, Memfile. // We'll use memfile because it doesn't require any prior set up. diff --git a/doc/examples/kea4/vendor-specific.json b/doc/examples/kea4/vendor-specific.json index 9796daa62d..64b23b50a3 100644 --- a/doc/examples/kea4/vendor-specific.json +++ b/doc/examples/kea4/vendor-specific.json @@ -74,7 +74,7 @@ "interfaces-config": { "interfaces": ["ethX"] }, -// We need to specify the the database used to store leases. +// We need to specify the database used to store leases. "lease-database": { "type": "memfile" }, diff --git a/doc/examples/kea4/vivso.json b/doc/examples/kea4/vivso.json index b5b1106b00..7f091b6f82 100644 --- a/doc/examples/kea4/vivso.json +++ b/doc/examples/kea4/vivso.json @@ -68,7 +68,7 @@ "ethX" ] }, -// We need to specify the the database used to store leases. +// We need to specify the database used to store leases. "lease-database": { "type": "memfile" }, diff --git a/doc/examples/kea4/with-ddns.json b/doc/examples/kea4/with-ddns.json index 8ca16d68af..e29a7b18e1 100644 --- a/doc/examples/kea4/with-ddns.json +++ b/doc/examples/kea4/with-ddns.json @@ -10,7 +10,7 @@ "interfaces": [ "ethX" ] }, -// We need to specify the the database used to store leases. As of +// We need to specify the database used to store leases. As of // September 2016, four database backends are supported: MySQL, // PostgreSQL, Cassandra, and the in-memory database, Memfile. // We'll use memfile because it doesn't require any prior set up. diff --git a/doc/examples/kea6/advanced.json b/doc/examples/kea6/advanced.json index fe27e478da..c8b48c1b31 100644 --- a/doc/examples/kea6/advanced.json +++ b/doc/examples/kea6/advanced.json @@ -23,7 +23,7 @@ "re-detect": true }, - // We need to specify the the database used to store leases. As of + // We need to specify the database used to store leases. As of // September 2016, four database backends are supported: MySQL, // PostgreSQL, Cassandra, and the in-memory database, Memfile. // We will use memfile because it doesn't require any prior set up. diff --git a/doc/examples/kea6/duid.json b/doc/examples/kea6/duid.json index 1eecfb5394..5fb0641a51 100644 --- a/doc/examples/kea6/duid.json +++ b/doc/examples/kea6/duid.json @@ -30,7 +30,7 @@ "interfaces": [ "ethX" ] }, -// We need to specify the the database used to store leases. As of +// We need to specify the database used to store leases. As of // September 2016, four database backends are supported: MySQL, // PostgreSQL, Cassandra, and the in-memory database, Memfile. // We'll use memfile because it doesn't require any prior set up. diff --git a/doc/examples/kea6/leases-expiration.json b/doc/examples/kea6/leases-expiration.json index 19987c3db9..5ac98ed5d0 100644 --- a/doc/examples/kea6/leases-expiration.json +++ b/doc/examples/kea6/leases-expiration.json @@ -10,7 +10,7 @@ "interfaces": [ "ethX" ] }, -// We need to specify the the database used to store leases. As of +// We need to specify the database used to store leases. As of // September 2016, four database backends are supported: MySQL, // PostgreSQL, Cassandra, and the in-memory database, Memfile. // We'll use memfile because it doesn't require any prior set up. diff --git a/doc/examples/kea6/multiple-options.json b/doc/examples/kea6/multiple-options.json index e08558eb89..a8d42eaef6 100644 --- a/doc/examples/kea6/multiple-options.json +++ b/doc/examples/kea6/multiple-options.json @@ -9,7 +9,7 @@ "interfaces": [ "ethX" ] }, -// We need to specify the the database used to store leases. As of +// We need to specify the database used to store leases. As of // September 2016, four database backends are supported: MySQL, // PostgreSQL, Cassandra, and the in-memory database, Memfile. // We'll use memfile because it doesn't require any prior set up. diff --git a/doc/examples/kea6/mysql-reservations.json b/doc/examples/kea6/mysql-reservations.json index 96ad40a3cf..ace2778737 100644 --- a/doc/examples/kea6/mysql-reservations.json +++ b/doc/examples/kea6/mysql-reservations.json @@ -10,7 +10,7 @@ "interfaces": [ "ethX" ] }, -// We need to specify the the database used to store leases. As of +// We need to specify the database used to store leases. As of // September 2016, four database backends are supported: MySQL, // PostgreSQL, Cassandra, and the in-memory database, Memfile. // We'll use memfile because it doesn't require any prior set up. diff --git a/doc/examples/kea6/pgsql-reservations.json b/doc/examples/kea6/pgsql-reservations.json index 83a430e04e..0c611469a0 100644 --- a/doc/examples/kea6/pgsql-reservations.json +++ b/doc/examples/kea6/pgsql-reservations.json @@ -10,7 +10,7 @@ "interfaces": [ "ethX" ] }, -// We need to specify the the database used to store leases. As of +// We need to specify the database used to store leases. As of // September 2016, four database backends are supported: MySQL, // PostgreSQL, Cassandra, and the in-memory database, Memfile. // We'll use memfile because it doesn't require any prior set up. diff --git a/doc/examples/kea6/reservations.json b/doc/examples/kea6/reservations.json index 8146bfd511..e860e3ccb4 100644 --- a/doc/examples/kea6/reservations.json +++ b/doc/examples/kea6/reservations.json @@ -12,7 +12,7 @@ "interfaces": [ "ethX" ] }, -// We need to specify the the database used to store leases. As of +// We need to specify the database used to store leases. As of // September 2016, four database backends are supported: MySQL, // PostgreSQL, Cassandra, and the in-memory database, Memfile. // We'll use memfile because it doesn't require any prior set up. diff --git a/doc/examples/kea6/several-subnets.json b/doc/examples/kea6/several-subnets.json index bbebe365e4..226875997f 100644 --- a/doc/examples/kea6/several-subnets.json +++ b/doc/examples/kea6/several-subnets.json @@ -10,7 +10,7 @@ "interfaces": [ "ethX" ] }, -// We need to specify the the database used to store leases. As of +// We need to specify the database used to store leases. As of // September 2016, four database backends are supported: MySQL, // PostgreSQL, Cassandra, and the in-memory database, Memfile. // We'll use memfile because it doesn't require any prior set up. diff --git a/doc/examples/kea6/simple.json b/doc/examples/kea6/simple.json index fcf0832e98..e359df5eb3 100644 --- a/doc/examples/kea6/simple.json +++ b/doc/examples/kea6/simple.json @@ -11,7 +11,7 @@ "interfaces": [ "ethX" ] }, -// We need to specify the the database used to store leases. As of +// We need to specify the database used to store leases. As of // September 2016, four database backends are supported: MySQL, // PostgreSQL, Cassandra, and the in-memory database, Memfile. // We'll use memfile because it doesn't require any prior set up. diff --git a/doc/examples/kea6/tee-times.json b/doc/examples/kea6/tee-times.json index be9192e892..6b14649cab 100644 --- a/doc/examples/kea6/tee-times.json +++ b/doc/examples/kea6/tee-times.json @@ -10,7 +10,7 @@ "interfaces": [ "ethX" ] }, -// We need to specify the the database used to store leases. As of +// We need to specify the database used to store leases. As of // September 2016, four database backends are supported: MySQL, // PostgreSQL, Cassandra, and the in-memory database, Memfile. // We'll use memfile because it doesn't require any prior set up. diff --git a/doc/examples/kea6/with-ddns.json b/doc/examples/kea6/with-ddns.json index 9863b9927e..afc823a373 100644 --- a/doc/examples/kea6/with-ddns.json +++ b/doc/examples/kea6/with-ddns.json @@ -11,7 +11,7 @@ "interfaces": [ "ethX" ] }, -// We need to specify the the database used to store leases. As of +// We need to specify the database used to store leases. As of // September 2016, four database backends are supported: MySQL, // PostgreSQL, Cassandra, and the in-memory database, Memfile. // We'll use memfile because it doesn't require any prior set up. diff --git a/doc/sphinx/arm/dhcp4-srv.rst b/doc/sphinx/arm/dhcp4-srv.rst index ee0c98c945..084ccb94e2 100644 --- a/doc/sphinx/arm/dhcp4-srv.rst +++ b/doc/sphinx/arm/dhcp4-srv.rst @@ -2499,7 +2499,7 @@ Another possibility is to redefine the option; see :ref:`dhcp4-private-opts`. Also, Kea comes with several example configuration files. Some of them showcase how to configure the option 60 and 43. See ``doc/examples/kea4/vendor-specific.json`` -and ``doc/examples/kea6/vivso.json`` in the the Kea sources. +and ``doc/examples/kea6/vivso.json`` in the Kea sources. .. note:: diff --git a/src/bin/agent/tests/ca_controller_unittests.cc b/src/bin/agent/tests/ca_controller_unittests.cc index b7233a9c42..cc6709182d 100644 --- a/src/bin/agent/tests/ca_controller_unittests.cc +++ b/src/bin/agent/tests/ca_controller_unittests.cc @@ -493,7 +493,7 @@ TEST_F(CtrlAgentControllerTest, configWrite) { ifstream f(file.c_str()); ASSERT_TRUE(f.good()); - // Now that's some rough check that the the config written really contains + // Now that's some rough check that the config written really contains // something that looks like Control-agent configuration. ConstElementPtr from_file = Element::fromJSONFile(file, true); ASSERT_TRUE(from_file); diff --git a/src/bin/d2/nc_trans.h b/src/bin/d2/nc_trans.h index 014e04d6bc..769de10d59 100644 --- a/src/bin/d2/nc_trans.h +++ b/src/bin/d2/nc_trans.h @@ -401,7 +401,7 @@ protected: /// @brief Returns a string version of the current response status and rcode /// - /// Renders a string containing the a text label current DNS update status + /// Renders a string containing the text label of current DNS update status /// and RCODE (if status is DNSClient::SUCCESS) /// /// @return std::string containing constructed text @@ -438,7 +438,7 @@ public: /// The primary purpose of this function is to provide a consistent way /// to identify requests for logging purposes. /// - /// @return a string with the the request's request ID (currently DHCID) + /// @return a string with the request's request ID (currently DHCID) std::string getRequestId() const; /// @brief Fetches the NameChangeRequest status of the transaction. diff --git a/src/bin/d2/tests/d2_process_unittests.cc b/src/bin/d2/tests/d2_process_unittests.cc index 2af2b3021d..0cbf1dfe03 100644 --- a/src/bin/d2/tests/d2_process_unittests.cc +++ b/src/bin/d2/tests/d2_process_unittests.cc @@ -382,7 +382,7 @@ TEST_F(D2ProcessTest, badConfigureRecovery) { checkQueueStatus(); // Verify that queue manager failed to start, (i.e. is in INITTED state), - // and the the reconfigure flag is false. + // and the reconfigure flag is false. ASSERT_EQ(D2QueueMgr::INITTED, queue_mgr->getMgrState()); ASSERT_FALSE(getReconfQueueFlag()); diff --git a/src/bin/dhcp6/dhcp6_srv.h b/src/bin/dhcp6/dhcp6_srv.h index 129e182111..f134827541 100644 --- a/src/bin/dhcp6/dhcp6_srv.h +++ b/src/bin/dhcp6/dhcp6_srv.h @@ -695,7 +695,7 @@ protected: /// /// - If there is a Client FQDN but no reserved hostname then both the /// FQDN and lease hostname will be equal to the name provided in the - /// client FQDN adjusted according the the DhcpDdns configuration + /// client FQDN adjusted according the DhcpDdns configuration /// parameters (e.g.replace-client-name, qualifying suffix...). /// /// All the logic required to form appropriate answer to the client is diff --git a/src/bin/dhcp6/tests/config_parser_unittest.cc b/src/bin/dhcp6/tests/config_parser_unittest.cc index a9db76e823..be3895ac0c 100644 --- a/src/bin/dhcp6/tests/config_parser_unittest.cc +++ b/src/bin/dhcp6/tests/config_parser_unittest.cc @@ -2487,7 +2487,7 @@ TEST_F(Dhcp6ParserTest, pdPoolList) { } } -// Goal of this test is to verify the a whole prefix can be delegated and that +// Goal of this test is to verify that a whole prefix can be delegated and that // a whole subnet can be delegated. TEST_F(Dhcp6ParserTest, subnetAndPrefixDelegated) { diff --git a/src/bin/dhcp6/tests/hooks_unittest.cc b/src/bin/dhcp6/tests/hooks_unittest.cc index 3eb17ee3d7..8d64e3a6c3 100644 --- a/src/bin/dhcp6/tests/hooks_unittest.cc +++ b/src/bin/dhcp6/tests/hooks_unittest.cc @@ -3058,7 +3058,7 @@ TEST_F(HooksDhcpv6SrvTest, leaseUpdateLease6Renew) { ASSERT_NE(override_preferred_, subnet_->getPreferred()); EXPECT_NE(override_valid_, subnet_->getValid()); - // Check that preferred, valid were overridden the the callout + // Check that preferred, valid were overridden the callout EXPECT_EQ(override_preferred_, l->preferred_lft_); EXPECT_EQ(override_valid_, l->valid_lft_); diff --git a/src/hooks/dhcp/high_availability/libloadtests/close_unittests.cc b/src/hooks/dhcp/high_availability/libloadtests/close_unittests.cc index 79ea532f5c..1c122d12ad 100644 --- a/src/hooks/dhcp/high_availability/libloadtests/close_unittests.cc +++ b/src/hooks/dhcp/high_availability/libloadtests/close_unittests.cc @@ -118,9 +118,9 @@ public: /// @param backup Flag to set this server as backup server. ConstElementPtr createValidJsonConfiguration(bool backup = false) const; - /// @brief Run parters. + /// @brief Run partners. /// - /// Simulate parters by accepting connections. The HA will send + /// Simulate partners by accepting connections. The HA will send /// lease updates and waits for answers so will own the query. void runPartners(); diff --git a/src/hooks/dhcp/high_availability/tests/ha_mt_unittest.cc b/src/hooks/dhcp/high_availability/tests/ha_mt_unittest.cc index a2e62945da..5d798a2148 100644 --- a/src/hooks/dhcp/high_availability/tests/ha_mt_unittest.cc +++ b/src/hooks/dhcp/high_availability/tests/ha_mt_unittest.cc @@ -147,7 +147,7 @@ public: } }; -// Verifies permuations of HA+MT configuration and start-up. +// Verifies permutations of HA+MT configuration and start-up. TEST_F(HAMtServiceTest, multiThreadingStartup) { // Structure describing a test scenario. @@ -269,7 +269,7 @@ TEST_F(HAMtServiceTest, multiThreadingStartup) { HAConfigParser parser; ASSERT_NO_THROW_LOG(parser.parse(ha_config, config_json)); - // Instanatiate the service. + // Instantiate the service. TestHAServicePtr service; ASSERT_NO_THROW_LOG(service.reset(new TestHAService(io_service_, network_state_, ha_config))); @@ -305,7 +305,7 @@ TEST_F(HAMtServiceTest, multiThreadingStartup) { continue; } - // We sould have a listening listener with the expected number of threads. + // We should have a listening listener with the expected number of threads. ASSERT_TRUE(service->listener_); EXPECT_TRUE(service->listener_->isListening()); EXPECT_EQ(service->listener_->getThreadPoolSize(), scenario.exp_listener_threads_); diff --git a/src/hooks/dhcp/high_availability/tests/ha_service_unittest.cc b/src/hooks/dhcp/high_availability/tests/ha_service_unittest.cc index 00d86cdda5..99588dd8cf 100644 --- a/src/hooks/dhcp/high_availability/tests/ha_service_unittest.cc +++ b/src/hooks/dhcp/high_availability/tests/ha_service_unittest.cc @@ -4651,7 +4651,7 @@ TEST_F(HAServiceTest, processHAResetWaiting) { /// /// This is a wrapper class around @c HttpListener which simulates a /// partner server. It provides convenient methods to start, stop the -/// parter (its listener) and to transition the partner between various +/// partner (its listener) and to transition the partner between various /// HA states. Depending on the state and whether the partner is started /// or stopped, different answers are returned in response to the /// ha-heartbeat commands. diff --git a/src/lib/asiolink/tests/interval_timer_unittest.cc b/src/lib/asiolink/tests/interval_timer_unittest.cc index 24e6cdfb5d..f353df1e30 100644 --- a/src/lib/asiolink/tests/interval_timer_unittest.cc +++ b/src/lib/asiolink/tests/interval_timer_unittest.cc @@ -312,7 +312,7 @@ TEST_F(IntervalTimerTest, intervalModeTest) { // As long as service runs at least one event handler, loop until // we've hit our goals. It won't return zero unless is out of - // work or the the service has been stopped by the test timer. + // work or the service has been stopped by the test timer. int cnt = 0; while (((cnt = io_service_.get_io_service().run_one()) > 0) && (repeater_count < 5)) { @@ -362,7 +362,7 @@ TEST_F(IntervalTimerTest, timerReuseTest) { // As long as service runs at least one event handler, loop until // we've hit our goals. It won't return zero unless is out of - // work or the the service has been stopped by the test timer. + // work or the service has been stopped by the test timer. int cnt = 0; while ((cnt = io_service_.get_io_service().run_one()) && (one_shot_count < 4)) { diff --git a/src/lib/database/dbaccess_parser.h b/src/lib/database/dbaccess_parser.h index f4321ac486..19ec911919 100644 --- a/src/lib/database/dbaccess_parser.h +++ b/src/lib/database/dbaccess_parser.h @@ -60,7 +60,7 @@ public: /// /// @return Reference to the internal map of keyword/value pairs /// representing database access information. This is valid only - /// for so long as the the parser remains in existence. + /// for so long as the parser remains in existence. const DatabaseConnection::ParameterMap& getDbAccessParameters() const { return (values_); } diff --git a/src/lib/dhcp/pkt6.h b/src/lib/dhcp/pkt6.h index 00b39b7790..8683ae4f22 100644 --- a/src/lib/dhcp/pkt6.h +++ b/src/lib/dhcp/pkt6.h @@ -70,7 +70,7 @@ public: /// the received message and will be the first one to process /// server's response). RELAY_GET_FIRST will try to get option from /// the first relay only (closest to the client), RELAY_GET_LAST will - /// try to get option form the the last relay (closest to the server). + /// try to get option form the last relay (closest to the server). enum RelaySearchOrder { RELAY_SEARCH_FROM_CLIENT = 1, RELAY_SEARCH_FROM_SERVER = 2, diff --git a/src/lib/dhcp/tests/option_data_types_unittest.cc b/src/lib/dhcp/tests/option_data_types_unittest.cc index e43fb2b13c..f48de3ba05 100644 --- a/src/lib/dhcp/tests/option_data_types_unittest.cc +++ b/src/lib/dhcp/tests/option_data_types_unittest.cc @@ -352,7 +352,7 @@ TEST_F(OptionDataTypesTest, writeBool) { ASSERT_EQ(2, buf.size()); // Check that the first value has not changed. EXPECT_EQ(buf[0], 1); - // Check the the second value is correct. + // Check the second value is correct. EXPECT_EQ(buf[1], 0); } diff --git a/src/lib/dhcp_ddns/ncr_msg.h b/src/lib/dhcp_ddns/ncr_msg.h index 6b27787c95..e3a708fb3f 100644 --- a/src/lib/dhcp_ddns/ncr_msg.h +++ b/src/lib/dhcp_ddns/ncr_msg.h @@ -332,12 +332,12 @@ public: /// - change-type - indicates whether this request is to add or update /// DNS entries or to remove them. The value is an integer and is /// 0 for add/update and 1 for remove. - /// - forward-change - indicates whether the the forward (name to + /// - forward-change - indicates whether the forward (name to /// address) DNS zone should be updated. The value is a string /// representing a boolean. It is "true" if the zone should be updated /// and "false" if not. (Unlike the keyword, the boolean value is /// case-insensitive.) - /// - reverse-change - indicates whether the the reverse (address to + /// - reverse-change - indicates whether the reverse (address to /// name) DNS zone should be updated. The value is a string /// representing a boolean. It is "true" if the zone should be updated /// and "false" if not. (Unlike the keyword, the boolean value is @@ -591,7 +591,7 @@ public: /// primary purpose of this function is to provide a consistent way to identify /// requests for logging purposes. /// - /// @return a string with the the request's request ID (currently DHCID) + /// @return a string with the request's request ID (currently DHCID) std::string getRequestId() const { return (dhcid_.toStr()); } diff --git a/src/lib/dhcp_ddns/ncr_udp.cc b/src/lib/dhcp_ddns/ncr_udp.cc index 8293fd77e0..56ffabdc17 100644 --- a/src/lib/dhcp_ddns/ncr_udp.cc +++ b/src/lib/dhcp_ddns/ncr_udp.cc @@ -86,7 +86,7 @@ NameChangeUDPListener::~NameChangeUDPListener() { void NameChangeUDPListener::open(isc::asiolink::IOService& io_service) { - // create our endpoint and bind the the low level socket to it. + // create our endpoint and bind the low level socket to it. isc::asiolink::UDPEndpoint endpoint(ip_address_, port_); // Create the low level socket. @@ -220,7 +220,7 @@ NameChangeUDPSender::~NameChangeUDPSender() { void NameChangeUDPSender::open(isc::asiolink::IOService& io_service) { - // create our endpoint and bind the the low level socket to it. + // create our endpoint and bind the low level socket to it. isc::asiolink::UDPEndpoint endpoint(ip_address_, port_); // Create the low level socket. diff --git a/src/lib/dhcpsrv/cfg_option.h b/src/lib/dhcpsrv/cfg_option.h index 1e49cdbce9..73d256ae53 100644 --- a/src/lib/dhcpsrv/cfg_option.h +++ b/src/lib/dhcpsrv/cfg_option.h @@ -428,7 +428,7 @@ public: /// @brief Re-create the option in each descriptor based on given definitions /// /// Invokes @c createDescriptorOption() on each option descriptor in - /// each option space, passing in the the given dictionary of option + /// each option space, passing in the given dictionary of option /// definitions. If the descriptor's option is re-created, then the /// descriptor is updated by calling @c replace(). /// diff --git a/src/lib/dhcpsrv/parsers/dhcp_parsers.h b/src/lib/dhcpsrv/parsers/dhcp_parsers.h index 3df223cff9..ba040773a3 100644 --- a/src/lib/dhcpsrv/parsers/dhcp_parsers.h +++ b/src/lib/dhcpsrv/parsers/dhcp_parsers.h @@ -54,7 +54,7 @@ typedef boost::shared_ptr OptionStoragePtr; template class ValueStorage { public: - /// @brief Stores the the parameter, its value and the position in the + /// @brief Stores the parameter, its value and the position in the /// store. /// /// If the parameter does not exist in the store, then it will be added, diff --git a/src/lib/dhcpsrv/tests/alloc_engine4_unittest.cc b/src/lib/dhcpsrv/tests/alloc_engine4_unittest.cc index c2f7053a12..598c303b3b 100644 --- a/src/lib/dhcpsrv/tests/alloc_engine4_unittest.cc +++ b/src/lib/dhcpsrv/tests/alloc_engine4_unittest.cc @@ -1084,7 +1084,7 @@ TEST_F(SharedNetworkAlloc4Test, discoverSharedNetworkSimple) { ASSERT_TRUE(lease); EXPECT_EQ("192.0.2.17", lease->addr_.toText()); - // Make sure the lease is not in the the lease mgr (this is only + // Make sure the lease is not in the lease mgr (this is only // discover). ASSERT_FALSE(LeaseMgrFactory::instance().getLease4(lease->addr_)); } @@ -1389,7 +1389,7 @@ TEST_F(SharedNetworkAlloc4Test, requestSharedNetworkSimple) { ASSERT_TRUE(lease); EXPECT_EQ("192.0.2.17", lease->addr_.toText()); - // Make sure the lease is in the the lease mgr. + // Make sure the lease is in the lease mgr. ASSERT_TRUE(LeaseMgrFactory::instance().getLease4(lease->addr_)); } diff --git a/src/lib/dns/rrset.h b/src/lib/dns/rrset.h index 7af2930ec3..5461b2bf95 100644 --- a/src/lib/dns/rrset.h +++ b/src/lib/dns/rrset.h @@ -395,7 +395,7 @@ public: /// \brief Add an RDATA to the RRset (string version). /// - /// This method constructs an Rdata object from the the given + /// This method constructs an Rdata object from the given /// \c rdata_str in presentation format and adds it to the \c RRset. /// /// \param rdata_str RDATA string in presentation format. diff --git a/src/lib/hooks/callout_manager.h b/src/lib/hooks/callout_manager.h index 0baddee27a..3ee1efd1f2 100644 --- a/src/lib/hooks/callout_manager.h +++ b/src/lib/hooks/callout_manager.h @@ -170,7 +170,7 @@ public: /// @brief De-Register a callout on a hook for the current library /// - /// Searches through the functions registered by the the current library + /// Searches through the functions registered by the current library /// with the named hook and removes all entries matching the /// callout. /// diff --git a/src/lib/hooks/parking_lots.h b/src/lib/hooks/parking_lots.h index 374e7dcac5..d736657b6f 100644 --- a/src/lib/hooks/parking_lots.h +++ b/src/lib/hooks/parking_lots.h @@ -37,8 +37,8 @@ namespace hooks { /// particular hook point only have access to the parking lots dedicated to /// them. /// -/// The parking lot object supports 5 actions: "park", "reference", "derefence", -/// "unpark", and "drop". +/// The parking lot object supports 5 actions: "park", "reference", +/// "dereference", "unpark", and "drop". /// /// In the typical case, the server parks the object and the callouts reference /// and unpark the objects. Therefore, the @ref ParkingLot object is not passed @@ -47,7 +47,7 @@ namespace hooks { /// and "unpark" operations. /// /// Parking an object is performed, proactively by the server, before callouts -/// are invoked. Referencing (and derefencing) an object is performed by the +/// are invoked. Referencing (and dereferencing) an object is performed by the /// callouts before the @c CalloutHandle::NEXT_STEP_PARK is returned to the /// server. /// diff --git a/src/lib/hooks/tests/common_test_class.h b/src/lib/hooks/tests/common_test_class.h index c5149bd345..783ec32f45 100644 --- a/src/lib/hooks/tests/common_test_class.h +++ b/src/lib/hooks/tests/common_test_class.h @@ -21,7 +21,7 @@ /// higher-level hooks classes (LibraryManager, LibraryManagerCollection and /// HooksManager). It /// -/// - sets the the ServerHooks object with three hooks and stores their +/// - sets the ServerHooks object with three hooks and stores their /// indexes. /// - executes the callouts (which are assumed to perform a calculation) /// and checks the results. diff --git a/src/lib/http/http_messages.mes b/src/lib/http/http_messages.mes index d90cf03c4e..389abd6597 100644 --- a/src/lib/http/http_messages.mes +++ b/src/lib/http/http_messages.mes @@ -39,7 +39,7 @@ second argument provides a response in the textual format. The request is truncated by the logger if it is too large to be printed. % HTTP_CLIENT_MT_STARTED HttpClient has been started in multi-threaded mode running %1 threads -This debug message is issued when a multit-threaded HTTP client instance has +This debug message is issued when a multi-threaded HTTP client instance has been created. The argument specifies the maximum number of threads. % HTTP_CLIENT_REQUEST_AUTHORIZED received HTTP request authorized for '%1' diff --git a/src/lib/log/logging.dox b/src/lib/log/logging.dox index 056a7e4528..8dbc02f6cb 100644 --- a/src/lib/log/logging.dox +++ b/src/lib/log/logging.dox @@ -55,7 +55,7 @@ a new zone has been created, etc.
DEBUG
Debug messages are output at this severity. Each message also has a debug level associated with it, ranging from 0 (the default) -for high-level messages and level 99 (the maximum) for the the lowest +for high-level messages and level 99 (the maximum) for the lowest level.
diff --git a/src/lib/util/strutil.h b/src/lib/util/strutil.h index 2005f7ab9c..19eda67a89 100644 --- a/src/lib/util/strutil.h +++ b/src/lib/util/strutil.h @@ -55,7 +55,7 @@ std::string trim(const std::string& instring); /// \brief Finds the "trimmed" end of a buffer /// -/// Works backward from the the end of the buffer, looking for the first +/// Works backward from the end of the buffer, looking for the first /// character not equal to the trim value, and returns an iterator /// pointing that that position. /// diff --git a/src/lib/util/tests/csv_file_unittest.cc b/src/lib/util/tests/csv_file_unittest.cc index 234ae1ea71..fbc75c961b 100644 --- a/src/lib/util/tests/csv_file_unittest.cc +++ b/src/lib/util/tests/csv_file_unittest.cc @@ -370,7 +370,7 @@ TEST_F(CSVFileTest, openReadAllWrite) { ASSERT_NO_THROW(csv->flush()); csv->close(); - // Check the the file contents are correct. + // Check the file contents are correct. EXPECT_EQ("animal,age,color\n" "cat,10,white\n" "lion,15,yellow\n" diff --git a/src/lib/util/tests/versioned_csv_file_unittest.cc b/src/lib/util/tests/versioned_csv_file_unittest.cc index 293c96bc2b..ec443a9fd5 100644 --- a/src/lib/util/tests/versioned_csv_file_unittest.cc +++ b/src/lib/util/tests/versioned_csv_file_unittest.cc @@ -293,7 +293,7 @@ TEST_F(VersionedCSVFileTest, upgradeOlderVersions) { ASSERT_NO_THROW(csv->close()); - // Check the the file contents are correct. + // Check the file contents are correct. EXPECT_EQ("animal\n" "cat\n" "lion\n" diff --git a/src/lib/util/versioned_csv_file.cc b/src/lib/util/versioned_csv_file.cc index b886198d6c..065636a1cd 100644 --- a/src/lib/util/versioned_csv_file.cc +++ b/src/lib/util/versioned_csv_file.cc @@ -163,7 +163,7 @@ VersionedCSVFile::next(CSVRow& row) { case NEEDS_DOWNGRADE: // The input header exceeded current schema so: // Rows may be as long as input header but not shorter than - // the the current schema + // the current schema if (row.getValuesCount() < getColumnCount()) { columnCountError(row, "too few columns to downgrade"); } else if (row.getValuesCount() > getInputHeaderCount()) { diff --git a/src/lib/yang/adaptor_pool.h b/src/lib/yang/adaptor_pool.h index dde34fab55..d354af18a6 100644 --- a/src/lib/yang/adaptor_pool.h +++ b/src/lib/yang/adaptor_pool.h @@ -56,7 +56,7 @@ public: /// @brief Move parameters from pools to the subnet. /// - /// Move parameters from pool to its partent subnet. Currently the only + /// Move parameters from pool to its parent subnet. Currently the only /// supported model is ietf-dhcpv6-server. The parameters moved are /// valid-lifetime, preferred-lifetime, renew-timer, rebind-timer. ///