From: Francis Dupont Date: Thu, 7 Jul 2016 16:28:16 +0000 (+0200) Subject: [4497] Spelling, no \n at end of .gitignore, etc X-Git-Tag: trac4551_base~23^2~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5dee09f6fb0d06ac10efc732aa322c59e8904557;p=thirdparty%2Fkea.git [4497] Spelling, no \n at end of .gitignore, etc --- diff --git a/src/bin/lfc/.gitignore b/src/bin/lfc/.gitignore index 1c52fb03e2..5c1604f3d3 100644 --- a/src/bin/lfc/.gitignore +++ b/src/bin/lfc/.gitignore @@ -2,4 +2,4 @@ /kea-lfc.8 /lfc_messages.cc /lfc_messages.h -/s-messages \ No newline at end of file +/s-messages diff --git a/src/lib/dhcp/pkt.h b/src/lib/dhcp/pkt.h index 2f33c6c967..bc29af4683 100644 --- a/src/lib/dhcp/pkt.h +++ b/src/lib/dhcp/pkt.h @@ -130,7 +130,7 @@ public: /// prior to calling this method. /// /// Output buffer will be stored in buffer_out_. - /// The buffer_out_ should be cleared before writting to the buffer + /// The buffer_out_ should be cleared before writing to the buffer /// in the derived classes. /// /// @note This is a pure virtual method and must be implemented in @@ -246,7 +246,7 @@ public: /// For all unsupported messages the derived classes must return /// "UNKNOWN". /// - /// @return Ponter to "const" string containing DHCP message name. + /// @return Pointer to "const" string containing DHCP message name. /// The implementations in the derived classes should statically /// allocate returned strings and the caller must not release the /// returned pointer. @@ -276,7 +276,7 @@ public: /// /// @note It is a matter of naming convention. Conceptually, the server /// processes a stream of packets, with some packets belonging to given - /// classes. From that perspective, this method adds a packet to specifed + /// classes. From that perspective, this method adds a packet to specified /// class. Implementation wise, it looks the opposite - the class name /// is added to the packet. Perhaps the most appropriate name for this /// method would be associateWithClass()? But that seems overly long, @@ -295,7 +295,7 @@ public: /// /// @warning This public member is accessed by derived /// classes directly. One of such derived classes is - /// @ref perfdhcp::PerfPkt6. The impact on derived clasess' + /// @ref perfdhcp::PerfPkt6. The impact on derived classes' /// behavior must be taken into consideration before making /// changes to this member such as access scope restriction or /// data format change etc. @@ -553,7 +553,7 @@ public: /// @param hw_addr_src a bitmask that specifies hardware address source HWAddrPtr getMAC(uint32_t hw_addr_src); - /// @brief Virtual desctructor. + /// @brief Virtual destructor. /// /// There is nothing to clean up here, but since there are virtual methods, /// we define virtual destructor to ensure that derived classes will have @@ -573,7 +573,7 @@ public: /// /// @warning This public member is accessed by derived /// classes directly. One of such derived classes is - /// @ref perfdhcp::PerfPkt6. The impact on derived clasess' + /// @ref perfdhcp::PerfPkt6. The impact on derived classes' /// behavior must be taken into consideration before making /// changes to this member such as access scope restriction or /// data format change etc. @@ -723,7 +723,7 @@ protected: /// /// @warning This protected member is accessed by derived /// classes directly. One of such derived classes is - /// @ref perfdhcp::PerfPkt6. The impact on derived clasess' + /// @ref perfdhcp::PerfPkt6. The impact on derived classes' /// behavior must be taken into consideration before making /// changes to this member such as access scope restriction or /// data format change etc. @@ -753,7 +753,7 @@ private: /// @param hw_addr pointer to actual hardware address. /// @param [out] storage pointer to a class member to be modified. /// - /// @trow isc::OutOfRange if invalid HW address specified. + /// @throw isc::OutOfRange if invalid HW address specified. virtual void setHWAddrMember(const uint8_t htype, const uint8_t hlen, const std::vector& hw_addr, HWAddrPtr& storage); diff --git a/src/lib/dhcp/pkt6.cc b/src/lib/dhcp/pkt6.cc index bf09eaf016..1658335b20 100644 --- a/src/lib/dhcp/pkt6.cc +++ b/src/lib/dhcp/pkt6.cc @@ -59,8 +59,8 @@ size_t Pkt6::len() { } void -Pkt6:: prepareGetAnyRelayOption(const RelaySearchOrder& order, - int& start, int& end, int& direction) const { +Pkt6::prepareGetAnyRelayOption(const RelaySearchOrder& order, + int& start, int& end, int& direction) const { switch (order) { case RELAY_SEARCH_FROM_CLIENT: // Search backwards diff --git a/src/lib/dhcp/pkt6.h b/src/lib/dhcp/pkt6.h index 619862549d..6abe3db6df 100644 --- a/src/lib/dhcp/pkt6.h +++ b/src/lib/dhcp/pkt6.h @@ -58,7 +58,7 @@ public: /// @brief defines relay search pattern /// /// Defines order in which options are searched in a message that - /// passed through mulitple relays. RELAY_SEACH_FROM_CLIENT will + /// passed through multiple relays. RELAY_SEACH_FROM_CLIENT will /// start search from the relay that was the closest to the client /// (i.e. innermost in the encapsulated message, which also means /// this was the first relay that forwarded packet received by the @@ -275,7 +275,7 @@ private: /// /// @param order Option search order (see @ref RelaySearchOrder). /// @param [out] start Index of the relay information structure from - /// which the serch should be started. + /// which the search should be started. /// @param [out] end Index of the relay information structure on which /// the option searches should stop. /// @param [out] direction Equals to -1 for backwards searches, and @@ -401,7 +401,7 @@ public: /// requires one parameter (type). /// /// @return Pointer to "const" string containing the message name. If - /// the message type is unknnown the "UNKNOWN" is returned. The caller + /// the message type is unknown the "UNKNOWN" is returned. The caller /// must not release the returned pointer. const char* getName() const; diff --git a/src/lib/dhcp/tests/option_copy_unittest.cc b/src/lib/dhcp/tests/option_copy_unittest.cc index d2108729b3..233ffebf5a 100644 --- a/src/lib/dhcp/tests/option_copy_unittest.cc +++ b/src/lib/dhcp/tests/option_copy_unittest.cc @@ -77,7 +77,7 @@ enum OpType { /// the pointer will be reset, so there is no sense to initialize this /// object to a non-null value. However, for the assignment testing it is /// recommended to initialize the option_copy to point to an option having -/// different parameters to verify that all parameters have been overriden +/// different parameters to verify that all parameters have been overridden /// by the assignment operation. template void testCopyAssign(const OpType& op_type, @@ -151,7 +151,7 @@ void testCopyAssign(const OpType& op_type, // **************************** Option *************************** -/// @brief Test deep copy of option encapsualated by Option type. +/// @brief Test deep copy of option encapsulated by Option type. /// /// @param op_type Copy operation type. void testOption(const OpType& op_type) { @@ -193,7 +193,7 @@ TEST(OptionCopyTest, optionAssignment) { // **************************** OptionInt *************************** -/// @brief Test deep copy of option encapsualated by OptionInt type. +/// @brief Test deep copy of option encapsulated by OptionInt type. /// /// @param op_type Copy operation type. void testOptionInt(const OpType& op_type) { @@ -223,7 +223,7 @@ TEST(OptionCopyTest, optionIntAssignment) { // ************************* OptionIntArray *************************** -/// @brief Test deep copy of option encapsualated by OptionIntArray type. +/// @brief Test deep copy of option encapsulated by OptionIntArray type. /// /// @param op_type Copy operation type. void testOptionIntArray(const OpType& op_type) { @@ -260,7 +260,7 @@ TEST(OptionCopyTest, optionIntArrayAssignment) { // ************************* Option4AddrLst *************************** -/// @brief Test deep copy of option encapsualated by Option4AddrLst or +/// @brief Test deep copy of option encapsulated by Option4AddrLst or /// Option6AddrLst type. /// /// @param op_type Copy operation type. @@ -290,7 +290,7 @@ void testOptionAddrLst(const OpType& op_type, EXPECT_EQ(option_address.toText(), addrs_copy[0].toText()); } -/// @brief Test deep copy of option encapsualated by Option4AddrLst type. +/// @brief Test deep copy of option encapsulated by Option4AddrLst type. /// /// @param op_type Copy operation type. void testOption4AddrLst(const OpType& op_type) { @@ -314,7 +314,7 @@ TEST(OptionCopyTest, option4AddrLstAssignment) { // ************************* Option6AddrLst *************************** -/// @brief Test deep copy of option encapsualated by Option6AddrLst type. +/// @brief Test deep copy of option encapsulated by Option6AddrLst type. /// /// @param op_type Copy operation type. void testOption6AddrLst(const OpType& op_type) { @@ -338,7 +338,7 @@ TEST(OptionCopyTest, option6AddrLstAssignment) { // *************************** Option6IA *************************** -/// @brief Test deep copy of option encapsualated by Option6IA type. +/// @brief Test deep copy of option encapsulated by Option6IA type. /// /// @param op_type Copy operation type. void testOption6IA(const OpType& op_type) { @@ -374,7 +374,7 @@ TEST(OptionCopyTest, option6IAAssignment) { // *************************** Option6IAAddr *************************** -/// @brief Test deep copy of option encapsualated by Option6IAAddr type. +/// @brief Test deep copy of option encapsulated by Option6IAAddr type. /// /// @param op_type Copy operation type. void testOption6IAAddr(const OpType& op_type) { @@ -412,7 +412,7 @@ TEST(OptionCopyTest, option6IAAddrAssignment) { // *************************** Option6IAPrefix *************************** -/// @brief Test deep copy of option encapsualated by Option6IAPrefix type. +/// @brief Test deep copy of option encapsulated by Option6IAPrefix type. /// /// @param op_type Copy operation type. void testOption6IAPrefix(const OpType& op_type) { @@ -451,7 +451,7 @@ TEST(OptionCopyTest, option6IAPrefixAssignment) { // *************************** Option6StatusCode *************************** -/// @brief Test deep copy of option encapsualated by Option6StatusCode type. +/// @brief Test deep copy of option encapsulated by Option6StatusCode type. /// /// @param op_type Copy operation type. void testOption6StatusCode(const OpType& op_type) { @@ -485,7 +485,7 @@ TEST(OptionCopyTest, option6StatusCodeAssignment) { // *************************** OptionString *************************** -/// @brief Test deep copy of option encapsualated by OptionString type. +/// @brief Test deep copy of option encapsulated by OptionString type. /// /// @param op_type Copy operation type. void testOptionString(const OpType& op_type) { @@ -516,7 +516,7 @@ TEST(OptionCopyTest, optionStringAssignment) { // *************************** OptionVendor *************************** -/// @brief Test deep copy of option encapsualated by OptionVendor type. +/// @brief Test deep copy of option encapsulated by OptionVendor type. /// /// @param op_type Copy operation type. void testOptionVendor(const OpType& op_type) { @@ -546,7 +546,7 @@ TEST(OptionCopyTest, optionVendorAssignment) { // *********************** OptionVendorClass *************************** -/// @brief Test deep copy of option encapsualated by OptionVendorClass type. +/// @brief Test deep copy of option encapsulated by OptionVendorClass type. /// /// @param op_type Copy operation type. void testOptionVendorClass(const OpType& op_type) { @@ -571,7 +571,7 @@ void testOptionVendorClass(const OpType& op_type) { tuple = "another-modified-vendor-class-value"; option->addTuple(tuple); - // That change shouldn't affect the orginal option. It should still + // That change shouldn't affect the original option. It should still // contain a single tuple with the original value. ASSERT_EQ(1, option_copy->getTuplesNum()); tuple = option_copy->getTuple(0); @@ -592,7 +592,7 @@ TEST(OptionCopyTest, optionVendorClassAssignment) { // ************************** Option4ClientFqdn *************************** -/// @brief Test deep copy of option encapsualated by Option4ClientFqdn or +/// @brief Test deep copy of option encapsulated by Option4ClientFqdn or /// Option6ClientFqdn type. /// /// @param op_type Copy operation type. @@ -602,7 +602,7 @@ TEST(OptionCopyTest, optionVendorClassAssignment) { /// the pointer will be reset, so there is no sense to initialize this /// object to a non-null value. However, for the assignment testing it is /// recommended to initialize the option_copy to point to an option having -/// different parameters to verify that all parameters have been overriden +/// different parameters to verify that all parameters have been overridden /// by the assignment operation. /// /// @tparam OptionType Option4ClientFqdn or Option6ClientFqdn. @@ -644,7 +644,7 @@ void testOptionClientFqdn(const OpType& op_type, } } -/// @brief Test deep copy of option encapsualated by Option4ClientFqdn type. +/// @brief Test deep copy of option encapsulated by Option4ClientFqdn type. /// /// @param op_type Copy operation type. void testOption4ClientFqdn(const OpType& op_type) { @@ -675,7 +675,7 @@ TEST(OptionCopyTest, option4ClientFqdnAssignment) { // ************************** Option6ClientFqdn *************************** -/// @brief Test deep copy of option encapsualated by Option6ClientFqdn type. +/// @brief Test deep copy of option encapsulated by Option6ClientFqdn type. /// /// @param op_type Copy operation type. void testOption6ClientFqdn(const OpType& op_type) { @@ -704,7 +704,7 @@ TEST(OptionCopyTest, option6ClientFqdnAssignment) { // **************************** OptionCustom *************************** -/// @brief Test deep copy of option encapsualated by OptionCustom type. +/// @brief Test deep copy of option encapsulated by OptionCustom type. /// /// @param op_type Copy operation type. void testOptionCustom(const OpType& op_type) { @@ -746,7 +746,7 @@ TEST(OptionCopyTest, optionCustomAssignment) { // ************************ OptionOpaqueDataTuples *********************** -/// @brief Test deep copy of option encapsualated by OptionOpaqueDataTuples type. +/// @brief Test deep copy of option encapsulated by OptionOpaqueDataTuples type. /// /// @param op_type Copy operation type. void testOptionOpaqueDataTuples(const OpType& op_type) { diff --git a/src/lib/dhcpsrv/parsers/.gitignore b/src/lib/dhcpsrv/parsers/.gitignore index bc339737f4..c83c0130e8 100644 --- a/src/lib/dhcpsrv/parsers/.gitignore +++ b/src/lib/dhcpsrv/parsers/.gitignore @@ -1 +1 @@ -/.dirstamp \ No newline at end of file +/.dirstamp diff --git a/src/lib/dns/rdata/generic/detail/.gitignore b/src/lib/dns/rdata/generic/detail/.gitignore index bc339737f4..c83c0130e8 100644 --- a/src/lib/dns/rdata/generic/detail/.gitignore +++ b/src/lib/dns/rdata/generic/detail/.gitignore @@ -1 +1 @@ -/.dirstamp \ No newline at end of file +/.dirstamp diff --git a/src/lib/eval/.gitignore b/src/lib/eval/.gitignore index 5af061949e..c16e2ccba1 100644 --- a/src/lib/eval/.gitignore +++ b/src/lib/eval/.gitignore @@ -1,3 +1,3 @@ /eval_messages.cc /eval_messages.h -/s-messages \ No newline at end of file +/s-messages diff --git a/src/lib/eval/tests/.gitignore b/src/lib/eval/tests/.gitignore index be86f8ed64..7ce9787e26 100644 --- a/src/lib/eval/tests/.gitignore +++ b/src/lib/eval/tests/.gitignore @@ -1 +1 @@ -/libeval_unittests \ No newline at end of file +/libeval_unittests diff --git a/src/lib/testutils/.gitignore b/src/lib/testutils/.gitignore index ba01f3c6c2..17933cf0b6 100644 --- a/src/lib/testutils/.gitignore +++ b/src/lib/testutils/.gitignore @@ -1 +1 @@ -/dhcp_test_lib.sh \ No newline at end of file +/dhcp_test_lib.sh diff --git a/src/lib/util/encode/.gitignore b/src/lib/util/encode/.gitignore index bc339737f4..c83c0130e8 100644 --- a/src/lib/util/encode/.gitignore +++ b/src/lib/util/encode/.gitignore @@ -1 +1 @@ -/.dirstamp \ No newline at end of file +/.dirstamp diff --git a/src/lib/util/random/.gitignore b/src/lib/util/random/.gitignore index bc339737f4..c83c0130e8 100644 --- a/src/lib/util/random/.gitignore +++ b/src/lib/util/random/.gitignore @@ -1 +1 @@ -/.dirstamp \ No newline at end of file +/.dirstamp diff --git a/src/lib/util/tests/.gitignore b/src/lib/util/tests/.gitignore index bd0e41ba0f..6a0c5b5de1 100644 --- a/src/lib/util/tests/.gitignore +++ b/src/lib/util/tests/.gitignore @@ -1,2 +1,2 @@ /run_unittests -/process_spawn_app.sh \ No newline at end of file +/process_spawn_app.sh