From 7e8325fac718db218b8d1f9fec89702ce4b80119 Mon Sep 17 00:00:00 2001 From: Perry Naseck Date: Tue, 11 Jul 2023 17:06:24 -0400 Subject: [PATCH] fix codespell typos --- common/io/IOStackTest.cpp | 2 +- common/io/PollerInterface.h | 2 +- include/ola/rdm/RDMControllerInterface.h | 4 ++-- include/ola/web/JsonTypes.h | 2 +- python/ola/OlaClient.py | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/common/io/IOStackTest.cpp b/common/io/IOStackTest.cpp index c2ce9935b0..8563f9892a 100644 --- a/common/io/IOStackTest.cpp +++ b/common/io/IOStackTest.cpp @@ -207,7 +207,7 @@ void IOStackTest::testAppendToQueue() { } /** - * Confirm we re-use blocks + * Confirm we reuse blocks */ void IOStackTest::testBlockReuse() { MemoryBlockPool pool(4); diff --git a/common/io/PollerInterface.h b/common/io/PollerInterface.h index 003106f3b3..cde0f2c39b 100644 --- a/common/io/PollerInterface.h +++ b/common/io/PollerInterface.h @@ -51,7 +51,7 @@ namespace io { * reentrant. Calling any of the read / write / close actions may in turn add / * remove descriptors, including the descriptor the method was itself called * on. There are tests in SelectServerTest.cpp to exercise some of these cases - * but implementors need to be careful. + * but implementers need to be careful. * * @warning * For example, if Poll() iterates over a set of Descriptors and calls diff --git a/include/ola/rdm/RDMControllerInterface.h b/include/ola/rdm/RDMControllerInterface.h index 8ddff1e049..564c20ea88 100644 --- a/include/ola/rdm/RDMControllerInterface.h +++ b/include/ola/rdm/RDMControllerInterface.h @@ -79,12 +79,12 @@ class RDMControllerInterface { * @param request the RDMRequest, ownership is transferred. * @param on_complete The callback to run when the request completes. * - * Implementors much ensure that the callback is always run at some point. + * Implementers much ensure that the callback is always run at some point. * In other words, there must be no way that a request can be dropped in such * a way that the callback is never run. Doing so will either block all * subsequent requests, or leak memory depending on the implementation. * - * Also the implementor of this class may want to re-write the transaction #, + * Also the implementer of this class may want to re-write the transaction #, * and possibly the UID (changing src UIDs isn't addressed by the RDM * spec). * diff --git a/include/ola/web/JsonTypes.h b/include/ola/web/JsonTypes.h index 2477fbecdd..b05fd0e1f9 100644 --- a/include/ola/web/JsonTypes.h +++ b/include/ola/web/JsonTypes.h @@ -23,7 +23,7 @@ * @addtogroup json * @{ * @file JsonTypes.h - * @brief Enums used to identfy JSON types. + * @brief Enums used to identify JSON types. * @} */ diff --git a/python/ola/OlaClient.py b/python/ola/OlaClient.py index 47e8dfa41c..f10eb4f0db 100644 --- a/python/ola/OlaClient.py +++ b/python/ola/OlaClient.py @@ -1345,7 +1345,7 @@ def GetCandidatePorts(self, callback, universe=None): request.universe = universe try: - # GetCandidatePorts works very much like GetDeviceInfo, so we can re-use + # GetCandidatePorts works very much like GetDeviceInfo, so we can reuse # its complete method. self._stub.GetCandidatePorts( controller, request,