Skip to content

Commit 36f8ae8

Browse files
restyled-commitskiel-apple
authored andcommitted
Restyled by whitespace
1 parent 9841680 commit 36f8ae8

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
@@ -1885,13 +1885,13 @@ - (void)_setCachedAttributeValue:(MTRDeviceDataValueDictionary _Nullable)value f
18851885
// Do not persist new values for Changes Omitted Quality (aka C Quality)
18861886
// attributes unless they're part of a Priming Report or from a read response.
18871887
// (removals are OK)
1888-
1888+
18891889
// log when a device violates expectations for Changes Omitted Quality attributes.
18901890
using namespace chip::Tracing::DarwinFramework;
18911891
MATTER_LOG_METRIC_BEGIN(kMetricUnexpectedCQualityUpdate);
18921892
[self _addInformationalAttributesToCurrentMetricScope];
18931893
MATTER_LOG_METRIC_END(kMetricUnexpectedCQualityUpdate);
1894-
1894+
18951895
return;
18961896
}
18971897

@@ -3506,29 +3506,29 @@ - (void)removeClientDataForKey:(NSString *)key endpointID:(NSNumber *)endpointID
35063506

35073507
- (NSNumber *)_informationalNumberAtAttributePath:(MTRAttributePath *)attributePath {
35083508
auto * cachedData = [self _cachedAttributeValueForPath:attributePath];
3509-
3509+
35103510
auto * attrReport = [[MTRAttributeReport alloc] initWithResponseValue:@{
35113511
MTRAttributePathKey : attributePath,
35123512
MTRDataKey : cachedData,
35133513
} error:nil];
35143514
// REVIEWERS: is it worth logging the `error` above?
3515-
3515+
35163516
return attrReport.value;
35173517
}
35183518

35193519
- (NSNumber *)_informationalVendorID {
35203520
auto * vendorIDPath = [MTRAttributePath attributePathWithEndpointID:@(kRootEndpointId)
35213521
clusterID:@(MTRClusterIDTypeBasicInformationID)
35223522
attributeID:@(MTRClusterBasicAttributeVendorIDID)];
3523-
3523+
35243524
return [self _informationalNumberAtAttributePath:vendorIDPath];
35253525
}
35263526

35273527
- (NSNumber *)_informationalProductID {
35283528
auto * productIDPath = [MTRAttributePath attributePathWithEndpointID:@(kRootEndpointId)
35293529
clusterID:@(MTRClusterIDTypeBasicInformationID)
35303530
attributeID:@(MTRClusterBasicAttributeProductIDID)];
3531-
3531+
35323532
return [self _informationalNumberAtAttributePath:productIDPath];
35333533
}
35343534

0 commit comments

Comments
 (0)