aboutsummaryrefslogtreecommitdiffhomepage
path: root/Firebase/Database/Snapshot
diff options
context:
space:
mode:
authorGravatar Paul Beusterien <paulbeusterien@google.com>2017-06-30 10:47:37 -0700
committerGravatar VinayGuthal <vinayg@qhode.com>2017-06-30 13:47:37 -0400
commitddbfd4cc666f5227ab0e1f5a98c8a499ccbb32d1 (patch)
tree9c2ec4e15b6741f413d66f428c45f0278219d728 /Firebase/Database/Snapshot
parent925f4c8b7558373172dd9410b7844637afaa2424 (diff)
Add travis trailing whitespace check (#116)
* Add travis trailing whitespace check * Remove trailing white space
Diffstat (limited to 'Firebase/Database/Snapshot')
-rw-r--r--Firebase/Database/Snapshot/FChildrenNode.m4
-rw-r--r--Firebase/Database/Snapshot/FSnapshotUtilities.m4
2 files changed, 4 insertions, 4 deletions
diff --git a/Firebase/Database/Snapshot/FChildrenNode.m b/Firebase/Database/Snapshot/FChildrenNode.m
index b5598ad..d53ae80 100644
--- a/Firebase/Database/Snapshot/FChildrenNode.m
+++ b/Firebase/Database/Snapshot/FChildrenNode.m
@@ -157,7 +157,7 @@
if([self isEmpty]) {
return [NSNull null];
}
-
+
__block int numKeys = 0;
__block NSInteger maxKey = 0;
__block BOOL allIntegerKeys = YES;
@@ -208,7 +208,7 @@
if(exp && [self getPriority] != nil && !self.getPriority.isEmpty) {
obj[kPayloadPriority] = [self.getPriority val];
}
-
+
return obj;
}
}
diff --git a/Firebase/Database/Snapshot/FSnapshotUtilities.m b/Firebase/Database/Snapshot/FSnapshotUtilities.m
index 1b83430..c6012d3 100644
--- a/Firebase/Database/Snapshot/FSnapshotUtilities.m
+++ b/Firebase/Database/Snapshot/FSnapshotUtilities.m
@@ -52,7 +52,7 @@
+ (id<FNode>) internalNodeFrom:(id)val priority:(id)aPriority withValidationFrom:(NSString *)fn atDepth:(int)depth path:(NSMutableArray *)path {
-
+
if (depth > kFirebaseMaxObjectDepth) {
NSRange range;
range.location = 0;
@@ -179,7 +179,7 @@
[updatePaths addObject:path];
compoundWrite = [compoundWrite addWrite:node atPath:path];
}
-
+
// Check that the update paths are not descendants of each other.
[updatePaths sortUsingComparator:^NSComparisonResult(FPath* left, FPath* right) {
return [left compare:right];