Skip to content

Commit 78f4ea2

Browse files
authored
Review FirebaseRemoteConfig Sources (#13367)
1 parent d9bcba4 commit 78f4ea2

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

FirebaseRemoteConfig/Sources/Private/RCNConfigSettings.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
/// This internal class contains a set of variables that are unique among all the config instances.
2424
/// It also handles all metadata and internal metadata. This class is not thread safe and does not
25-
/// inherently allow for synchronized accesss. Callers are responsible for synchronization
25+
/// inherently allow for synchronized access. Callers are responsible for synchronization
2626
/// (currently using serial dispatch queues).
2727
@interface RCNConfigSettings : NSObject
2828

FirebaseRemoteConfig/Sources/RCNConfigContent.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ - (BOOL)initializationSuccessful {
111111
#pragma mark - database
112112

113113
/// This method is only meant to be called at init time. The underlying logic will need to be
114-
/// revaluated if the assumption changes at a later time.
114+
/// reevaluated if the assumption changes at a later time.
115115
- (void)loadConfigFromMainTable {
116116
if (!_DBManager) {
117117
return;

FirebaseRemoteConfig/Sources/RCNConfigDBManager.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ typedef void (^RCNDBLoadCompletion)(BOOL success,
9494
/// @param values Values to be inserted.
9595
- (void)insertInternalMetadataTableWithValues:(NSArray *)values
9696
completionHandler:(RCNDBCompletion)handler;
97-
/// Insert exepriment data in experiment table.
97+
/// Insert experiment data in experiment table.
9898
/// @param key The key of experiment data belongs to, which are defined in
9999
/// RCNConfigDefines.h.
100100
/// @param value The value that experiment.

FirebaseRemoteConfig/Sources/RCNConfigDBManager.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1068,7 +1068,7 @@ - (NSMutableDictionary *)loadInternalMetadataTableInternal {
10681068
}
10691069

10701070
/// This method is only meant to be called at init time. The underlying logic will need to be
1071-
/// revaluated if the assumption changes at a later time.
1071+
/// reevaluated if the assumption changes at a later time.
10721072
- (void)loadMainWithBundleIdentifier:(NSString *)bundleIdentifier
10731073
completionHandler:(RCNDBLoadCompletion)handler {
10741074
__weak RCNConfigDBManager *weakSelf = self;

FirebaseRemoteConfig/Sources/RCNConfigRealtime.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,7 @@ - (void)fetchLatestConfig:(NSInteger)remainingAttempts targetVersion:(NSInteger)
452452
NSError *error) {
453453
if (error != nil) {
454454
FIRLogError(kFIRLoggerRemoteConfig, @"I-RCN000010",
455-
@"Failed to retrive config due to fetch error. "
455+
@"Failed to retrieve config due to fetch error. "
456456
@"Error: %@",
457457
error);
458458
return [self propogateErrors:error];

FirebaseRemoteConfig/Sources/RCNConfigSettings.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ - (NSDictionary *)loadConfigFromMetadataTable {
187187

188188
// Update internal metadata content to cache and DB.
189189
- (void)updateInternalContentWithResponse:(NSDictionary *)response {
190-
// Remove all the keys with current pakcage name.
190+
// Remove all the keys with current package name.
191191
[_DBManager deleteRecordWithBundleIdentifier:_bundleIdentifier
192192
namespace:_FIRNamespace
193193
isInternalDB:YES];

0 commit comments

Comments
 (0)