Skip to content

Commit 5226243

Browse files
restyled-commitsyunhanw-google
authored andcommitted
Restyled by whitespace
1 parent 046ff13 commit 5226243

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

src/app/InteractionModelEngine.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1076,7 +1076,7 @@ void InteractionModelEngine::OnActiveModeNotification(ScopedNodeId aCheckInNode,
10761076
auto pNextItem = pListItem->GetNextClient();
10771077
// It is possible that pListItem is destroyed by the app in OnActiveModeNotification.
10781078
// Get the next item before invoking `OnActiveModeNotification`.
1079-
if (ScopedNodeId(pListItem->GetPeerNodeId(), pListItem->GetFabricIndex()) == aPeer &&
1079+
if (ScopedNodeId(pListItem->GetPeerNodeId(), pListItem->GetFabricIndex()) == aPeer &&
10801080
pListItem->GetLocalScopedNodeId().HasValue() &&
10811081
aCheckInNode == pListItem->GetLocalScopedNodeId().Value())
10821082
{

src/app/ReadClient.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,7 @@ void ReadClient::OnActiveModeNotification()
502502
// current client does not realize subscription has gone, and we should forcibly timeout current subscription, and schedule a new one.
503503
if (!mIsResubscriptionScheduled)
504504
{
505-
// Closing will ultimately trigger ScheduleResubscription with the aReestablishCASE argument set to true, effectively
505+
// Closing will ultimately trigger ScheduleResubscription with the aReestablishCASE argument set to true, effectively
506506
// rendering the session defunct.
507507
Close(CHIP_ERROR_TIMEOUT);
508508
return;

src/app/ReadClient.h

+6-6
Original file line numberDiff line numberDiff line change
@@ -356,10 +356,10 @@ class ReadClient : public Messaging::ExchangeDelegate
356356
*
357357
* If the subscription is not in the `InactiveICDSubscription` state, this function will do nothing. So it is always safe to
358358
* call this function when a check-in message is received.
359-
*
360-
* If the server sends out check-in message, and there is no reschedule subscription yet in client side at the same time, it
359+
*
360+
* If the server sends out check-in message, and there is no reschedule subscription yet in client side at the same time, it
361361
* means current client does not realize subscription has gone, and we should forcibly timeout current subscription, and schedule a new one.
362-
*
362+
*
363363
* This API only works when issuing subscription via SendAutoResubscribeRequest.
364364
*/
365365
void OnActiveModeNotification();
@@ -509,10 +509,10 @@ class ReadClient : public Messaging::ExchangeDelegate
509509
Optional<System::Clock::Timeout> GetSubscriptionTimeout();
510510

511511

512-
Optional<ScopedNodeId> GetLocalScopedNodeId() const
513-
{
512+
Optional<ScopedNodeId> GetLocalScopedNodeId() const
513+
{
514514
VerifyOrReturnValue(mReadPrepareParams.mSessionHolder, NullOptional);
515-
return MakeOptional(mReadPrepareParams.mSessionHolder->AsSecureSession()->GetLocalScopedNodeId());
515+
return MakeOptional(mReadPrepareParams.mSessionHolder->AsSecureSession()->GetLocalScopedNodeId());
516516
}
517517

518518
private:

0 commit comments

Comments
 (0)