aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objective-c/RxLibrary/GRXConcurrentWriteable.m
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/objective-c/RxLibrary/GRXConcurrentWriteable.m
parentcf303c3ee7d4b4364650ca6fdecbaafdca117497 (diff)
clang-format
Diffstat (limited to 'src/objective-c/RxLibrary/GRXConcurrentWriteable.m')
-rw-r--r--src/objective-c/RxLibrary/GRXConcurrentWriteable.m10
1 files changed, 5 insertions, 5 deletions
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;
}