From 91bf75d54a32018460ae93a0fdd21c487cc2ae60 Mon Sep 17 00:00:00 2001 From: Ichthyostega Date: Fri, 25 Mar 2016 21:40:30 +0100 Subject: [PATCH] spelling in comments --- src/lib/diff/test-mutation-target.hpp | 6 +++--- src/lib/diff/tree-mutator-collection-binding.hpp | 6 +++--- src/lib/diff/tree-mutator.hpp | 10 +++++----- tests/library/diff/tree-manipulation-binding-test.cpp | 2 +- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/lib/diff/test-mutation-target.hpp b/src/lib/diff/test-mutation-target.hpp index f715a3cf6..68d1c8692 100644 --- a/src/lib/diff/test-mutation-target.hpp +++ b/src/lib/diff/test-mutation-target.hpp @@ -375,7 +375,7 @@ namespace diff{ /** skip next recorded src element * @remarks TestWireTap adapter together with TestMutationTarget - * maintain a "shaddow copy" of the data and apply the detected diff + * maintain a "shadow copy" of the data and apply the detected diff * against this internal copy. This allows to verify what's going on */ virtual void @@ -390,9 +390,9 @@ namespace diff{ PAR::skipSrc(); } - /** record in the test taget + /** record in the test target * that a new child element is - * being insertet at current position + * being inserted at current position */ virtual void injectNew (GenNode const& n) override diff --git a/src/lib/diff/tree-mutator-collection-binding.hpp b/src/lib/diff/tree-mutator-collection-binding.hpp index 12c705d4a..2e5c19bbb 100644 --- a/src/lib/diff/tree-mutator-collection-binding.hpp +++ b/src/lib/diff/tree-mutator-collection-binding.hpp @@ -192,7 +192,7 @@ #if false /////////////////////////////////////////////////////////////////////////////////////////////////////////////UNIMPLEMENTED :: TICKET #992 /** skip next recorded src element * @remarks TestWireTap adapter together with TestMutationTarget - * maintain a "shaddow copy" of the data and apply the detected diff + * maintain a "shadow copy" of the data and apply the detected diff * against this internal copy. This allows to verify what's going on */ virtual void @@ -207,9 +207,9 @@ PAR::skipSrc(); } - /** record in the test taget + /** record in the test target * that a new child element is - * being insertet at current position + * being inserted at current position */ virtual void injectNew (GenNode const& n) override diff --git a/src/lib/diff/tree-mutator.hpp b/src/lib/diff/tree-mutator.hpp index 3b6ca52a1..57fa6ebed 100644 --- a/src/lib/diff/tree-mutator.hpp +++ b/src/lib/diff/tree-mutator.hpp @@ -97,7 +97,7 @@ namespace lib { * @remarks this is especially geared towards use in APIs, allowing * a not yet known implementation to implant an agent or collaboration * partner into the likewise undisclosed innards of the exposed service. - * @warning the type BA must expose a virtual dtor, since the targetted + * @warning the type BA must expose a virtual dtor, since the targeted * OpaqueHolder has to take ownership of the implanted object. */ template @@ -234,8 +234,8 @@ namespace diff{ /** locate the designated target element * (must be already accepted into the target sequence). - * Perform an assignement with the given payload value - * @throw when assignement fails (typically error::Logic) + * Perform an assignment with the given payload value + * @throw when assignment fails (typically error::Logic) * @return false when unable to locate the target */ virtual bool assignElm (GenNode const&) @@ -248,7 +248,7 @@ namespace diff{ using MutatorBuffer = PlantingHandle; /** locate the designated target element - * and build a suittable sub-mutator for this element + * and build a suitable sub-mutator for this element * into the provided target buffer * @throw error::Fatal when buffer is insufficient * @return false when unable to locate the target */ @@ -362,7 +362,7 @@ namespace diff{ * is a (language) reference to a STL compliant container existing somewhere * within the otherwise opaque implementation. The type of the container and * thus the type of the elements will be picked up, and the returned builder - * can be further outfitted with the builder methods, which take labmdas as + * can be further outfitted with the builder methods, which take lambdas as * callback into the implementation. */ template diff --git a/tests/library/diff/tree-manipulation-binding-test.cpp b/tests/library/diff/tree-manipulation-binding-test.cpp index c0ef8afd7..96868522d 100644 --- a/tests/library/diff/tree-manipulation-binding-test.cpp +++ b/tests/library/diff/tree-manipulation-binding-test.cpp @@ -87,7 +87,7 @@ namespace test{ * - use a dummy diagnostic implementation to verify the interface * - integrate the standard case of tree diff application to `Rec` * - verify an adapter to apply structure modification to a generic collection - * - use closures to translate mutation into manipulation of private attribues + * - use closures to translate mutation into manipulation of private attributes * * @see TreeMutator * @see TreeMutator_test