Skip to content

Commit 0d90f2f

Browse files
authored
Update to clang-format 12.0.1 (#8397)
1 parent 41b0073 commit 0d90f2f

File tree

20 files changed

+714
-724
lines changed

20 files changed

+714
-724
lines changed

Crashlytics/Shared/FIRCLSNetworking/FIRCLSFABNetworkClient.m

Lines changed: 25 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -134,20 +134,18 @@ - (void)startDataTaskWithRequest:(NSURLRequest *)request
134134
}
135135

136136
[self
137-
runAfterRetryValueFromResponse:response
138-
attempts:tries
139-
block:^{
140-
[self
141-
startDataTaskWithRequest:
142-
request
143-
retryLimit:
144-
retryLimit
145-
tries:
146-
(tries +
137+
runAfterRetryValueFromResponse:response
138+
attempts:tries
139+
block:^{
140+
[self
141+
startDataTaskWithRequest:request
142+
retryLimit:
143+
retryLimit
144+
tries:(tries +
147145
1)
148-
completionHandler:
149-
completionHandler];
150-
}];
146+
completionHandler:
147+
completionHandler];
148+
}];
151149
}];
152150
}];
153151

@@ -211,20 +209,20 @@ - (void)startDownloadTaskWithRequest:(NSURLRequest *)request
211209
}
212210

213211
[self
214-
runAfterRetryValueFromResponse:response
215-
attempts:tries
216-
block:^{
217-
[self
218-
startDownloadTaskWithRequest:
219-
request
220-
retryLimit:
221-
retryLimit
222-
tries:
223-
(tries +
224-
1)
225-
completionHandler:
226-
completionHandler];
227-
}];
212+
runAfterRetryValueFromResponse:response
213+
attempts:tries
214+
block:^{
215+
[self
216+
startDownloadTaskWithRequest:
217+
request
218+
retryLimit:
219+
retryLimit
220+
tries:
221+
(tries +
222+
1)
223+
completionHandler:
224+
completionHandler];
225+
}];
228226
}];
229227
}];
230228

FirebaseAppDistribution/Sources/FIRFADApiService.m

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -47,20 +47,20 @@ + (void)generateAuthTokenWithCompletion:(FIRFADGenerateAuthTokenCompletion)compl
4747
return;
4848
}
4949

50-
[installations installationIDWithCompletion:^(NSString *__nullable identifier,
51-
NSError *__nullable error) {
52-
if ([self handleError:&error
53-
description:@"Failed to fetch Firebase Installation ID."
54-
code:FIRFADApiInstallationIdentifierError]) {
55-
FIRFADErrorLog(@"Error getting installation id. Error: %@", [error localizedDescription]);
50+
[installations
51+
installationIDWithCompletion:^(NSString *__nullable identifier, NSError *__nullable error) {
52+
if ([self handleError:&error
53+
description:@"Failed to fetch Firebase Installation ID."
54+
code:FIRFADApiInstallationIdentifierError]) {
55+
FIRFADErrorLog(@"Error getting installation id. Error: %@", [error localizedDescription]);
5656

57-
completion(nil, nil, error);
57+
completion(nil, nil, error);
5858

59-
return;
60-
}
59+
return;
60+
}
6161

62-
completion(identifier, authTokenResult, nil);
63-
}];
62+
completion(identifier, authTokenResult, nil);
63+
}];
6464
}];
6565
}
6666

0 commit comments

Comments
 (0)