Skip to content

Commit 7456e16

Browse files
restyled-commitskiel-apple
authored andcommitted
Restyled by whitespace
1 parent 131020c commit 7456e16

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/darwin/Framework/CHIP/MTRDevice.mm

+6-6
Original file line numberDiff line numberDiff line change
@@ -1891,13 +1891,13 @@ - (void)_setCachedAttributeValue:(MTRDeviceDataValueDictionary _Nullable)value f
18911891
// Do not persist new values for Changes Omitted Quality (aka C Quality)
18921892
// attributes unless they're part of a Priming Report or from a read response.
18931893
// (removals are OK)
1894-
1894+
18951895
// log when a device violates expectations for Changes Omitted Quality attributes.
18961896
using namespace chip::Tracing::DarwinFramework;
18971897
MATTER_LOG_METRIC_BEGIN(kMetricUnexpectedCQualityUpdate);
18981898
[self _addInformationalAttributesToCurrentMetricScope];
18991899
MATTER_LOG_METRIC_END(kMetricUnexpectedCQualityUpdate);
1900-
1900+
19011901
return;
19021902
}
19031903

@@ -3655,29 +3655,29 @@ - (void)removeClientDataForKey:(NSString *)key endpointID:(NSNumber *)endpointID
36553655

36563656
- (NSNumber *)_informationalNumberAtAttributePath:(MTRAttributePath *)attributePath {
36573657
auto * cachedData = [self _cachedAttributeValueForPath:attributePath];
3658-
3658+
36593659
auto * attrReport = [[MTRAttributeReport alloc] initWithResponseValue:@{
36603660
MTRAttributePathKey : attributePath,
36613661
MTRDataKey : cachedData,
36623662
} error:nil];
36633663
// REVIEWERS: is it worth logging the `error` above?
3664-
3664+
36653665
return attrReport.value;
36663666
}
36673667

36683668
- (NSNumber *)_informationalVendorID {
36693669
auto * vendorIDPath = [MTRAttributePath attributePathWithEndpointID:@(kRootEndpointId)
36703670
clusterID:@(MTRClusterIDTypeBasicInformationID)
36713671
attributeID:@(MTRClusterBasicAttributeVendorIDID)];
3672-
3672+
36733673
return [self _informationalNumberAtAttributePath:vendorIDPath];
36743674
}
36753675

36763676
- (NSNumber *)_informationalProductID {
36773677
auto * productIDPath = [MTRAttributePath attributePathWithEndpointID:@(kRootEndpointId)
36783678
clusterID:@(MTRClusterIDTypeBasicInformationID)
36793679
attributeID:@(MTRClusterBasicAttributeProductIDID)];
3680-
3680+
36813681
return [self _informationalNumberAtAttributePath:productIDPath];
36823682
}
36833683

0 commit comments

Comments
 (0)