aboutsummaryrefslogtreecommitdiffhomepage
path: root/Firebase/Database
diff options
context:
space:
mode:
authorGravatar Josep Sayol <jsayol@users.noreply.github.com>2017-06-29 18:56:39 +0200
committerGravatar Paul Beusterien <paulbeusterien@google.com>2017-06-29 09:56:39 -0700
commit986199d5a300ff303a1af9ae1439bcf53f2cfff6 (patch)
tree547e54c5861fd0c1587c33d6db18e1e637e8bcf2 /Firebase/Database
parent007e673d23c8fd61bf8b47e90cd99fe6164230ea (diff)
Fix comment in FPruneForest (#111)
Diffstat (limited to 'Firebase/Database')
-rw-r--r--Firebase/Database/Persistence/FPruneForest.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Firebase/Database/Persistence/FPruneForest.m b/Firebase/Database/Persistence/FPruneForest.m
index 3dae6d8..ae5ce91 100644
--- a/Firebase/Database/Persistence/FPruneForest.m
+++ b/Firebase/Database/Persistence/FPruneForest.m
@@ -149,7 +149,7 @@ static BOOL (^kFKeepPredicate)(id) = ^BOOL(NSNumber *pruneValue) {
[NSException raise:NSInvalidArgumentException format:@"Can't prune path that was kept previously!"];
}
if ([self.pruneForest rootMostValueOnPath:path matching:kFPrunePredicate]) {
- // This path will already be kept
+ // This path will already be pruned
return self;
} else {
return [self setPruneValue:[FPruneForest pruneTree] forAll:children atPath:path];