From 065118f47286f04223f5d748e593e9d3d3d1027a Mon Sep 17 00:00:00 2001 From: Karsten Sperling <113487422+ksperling-apple@users.noreply.github.com> Date: Thu, 27 Jun 2024 14:57:09 -0400 Subject: [PATCH] Apply comment suggestions from code review Co-authored-by: Boris Zbarsky --- src/app/ReadClient.cpp | 2 +- src/app/ReadClient.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/ReadClient.cpp b/src/app/ReadClient.cpp index 142fb65e726b45..e6953ac04efc9b 100644 --- a/src/app/ReadClient.cpp +++ b/src/app/ReadClient.cpp @@ -462,7 +462,7 @@ CHIP_ERROR ReadClient::GenerateDataVersionFilterList(DataVersionFilterIBs::Build const Span & aDataVersionFilters, bool & aEncodedDataVersionList) { - // Give the callback a chance first, otherwise use the list we have. + // Give the callback a chance first, otherwise use the list we have, if any. ReturnErrorOnFailure( mpCallback.OnUpdateDataVersionFilterList(aDataVersionFilterIBsBuilder, aAttributePaths, aEncodedDataVersionList)); diff --git a/src/app/ReadClient.h b/src/app/ReadClient.h index e2a072767f289a..9bfb628b47e252 100644 --- a/src/app/ReadClient.h +++ b/src/app/ReadClient.h @@ -339,7 +339,7 @@ class ReadClient : public Messaging::ExchangeDelegate * This will send either a Read Request or a Subscribe Request depending on * the InteractionType this read client was initialized with. * - * If the requests contains more data version filters than can fit in the request packet + * If the params contain more data version filters than can fit in the request packet * the list will be truncated as needed, i.e. filter inclusion is on a best effort basis. * * @retval #others fail to send read request