aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Muxi Yan <mxyan@google.com>2019-01-07 16:54:37 -0800
committerGravatar Muxi Yan <mxyan@google.com>2019-01-07 16:54:37 -0800
commit8b55c6a8714e7c4422adc8e7e105588397b707ba (patch)
treed5657db22518f8a524d725b640a4a1071cb82467 /src
parentcf303c3ee7d4b4364650ca6fdecbaafdca117497 (diff)
clang-format
Diffstat (limited to 'src')
-rw-r--r--src/objective-c/GRPCClient/GRPCCall.m6
-rw-r--r--src/objective-c/RxLibrary/GRXConcurrentWriteable.m10
2 files changed, 8 insertions, 8 deletions
diff --git a/src/objective-c/GRPCClient/GRPCCall.m b/src/objective-c/GRPCClient/GRPCCall.m
index 714c7dbbc2..20703f548e 100644
--- a/src/objective-c/GRPCClient/GRPCCall.m
+++ b/src/objective-c/GRPCClient/GRPCCall.m
@@ -832,9 +832,9 @@ const char *kCFStreamVarName = "grpc_cfstream";
[self finishWithError:[NSError errorWithDomain:kGRPCErrorDomain
code:GRPCErrorCodeUnavailable
userInfo:@{
- NSLocalizedDescriptionKey :
- @"Failed to create call or channel."
- }]];
+ NSLocalizedDescriptionKey :
+ @"Failed to create call or channel."
+ }]];
return;
}
diff --git a/src/objective-c/RxLibrary/GRXConcurrentWriteable.m b/src/objective-c/RxLibrary/GRXConcurrentWriteable.m
index 7cc2101a55..d8491d2aed 100644
--- a/src/objective-c/RxLibrary/GRXConcurrentWriteable.m
+++ b/src/objective-c/RxLibrary/GRXConcurrentWriteable.m
@@ -64,10 +64,10 @@
return;
}
- @synchronized (self) {
- if (self->_cancelled) {
- return;
- }
+ @synchronized(self) {
+ if (self->_cancelled) {
+ return;
+ }
}
[self.writeable writeValue:value];
@@ -80,7 +80,7 @@
if (self->_alreadyFinished) {
return;
}
- @synchronized (self) {
+ @synchronized(self) {
if (self->_cancelled) {
return;
}