aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objective-c/RxLibrary/GRXImmediateSingleWriter.m
diff options
context:
space:
mode:
authorGravatar Muxi Yan <mxyan@google.com>2019-01-02 15:59:19 -0800
committerGravatar Muxi Yan <mxyan@google.com>2019-01-07 10:27:20 -0800
commit3cdc0db838626ab1d186a4980125bc3e6219c0e0 (patch)
treefb83534ecd127ca8e19afde723c3dc0d096ff711 /src/objective-c/RxLibrary/GRXImmediateSingleWriter.m
parent03232ba46fba25465341b5e9632344f102f9df83 (diff)
clang-format
Diffstat (limited to 'src/objective-c/RxLibrary/GRXImmediateSingleWriter.m')
-rw-r--r--src/objective-c/RxLibrary/GRXImmediateSingleWriter.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/objective-c/RxLibrary/GRXImmediateSingleWriter.m b/src/objective-c/RxLibrary/GRXImmediateSingleWriter.m
index eadad6c3b6..079c11b94f 100644
--- a/src/objective-c/RxLibrary/GRXImmediateSingleWriter.m
+++ b/src/objective-c/RxLibrary/GRXImmediateSingleWriter.m
@@ -38,7 +38,7 @@
- (void)startWithWriteable:(id<GRXWriteable>)writeable {
id copiedValue = nil;
- @synchronized (self) {
+ @synchronized(self) {
if (_state != GRXWriterStateNotStarted) {
return;
}
@@ -63,7 +63,7 @@
// the original \a map function returns a new Writer of another type. So we
// need to override this function here.
- (GRXWriter *)map:(id (^)(id))map {
- @synchronized (self) {
+ @synchronized(self) {
// Since _value is available when creating the object, we can simply
// apply the map and store the output.
_value = map(_value);