Skip to content

Commit 3b7acc7

Browse files
authored
[Firestore] Fix FIRLocalCacheSettings.h typos (#11163)
Replaced `instnace` with `instance` and `attemp` with `attempt`.
1 parent 6304c23 commit 3b7acc7

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

Firestore/Source/Public/FirebaseFirestore/FIRLocalCacheSettings.h

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ NS_SWIFT_NAME(MemoryEagerGCSetting)
8181
@interface FIRMemoryEagerGCSettings : NSObject <NSCopying, FIRMemoryGarbageCollectorSettings>
8282

8383
/**
84-
* Creates an instnace of `MemoryEagerGCSettings`.
84+
* Creates an instance of `MemoryEagerGCSettings`.
8585
*/
8686
- (instancetype)init;
8787

@@ -90,9 +90,9 @@ NS_SWIFT_NAME(MemoryEagerGCSetting)
9090
/**
9191
* Configures the SDK to use a least-recently-used garbage collector for memory cache.
9292
*
93-
* Once configured, the SDK will attemp to remove documents that are least recently used in batches,
94-
* if the current cache size is larger than the given target cache size. Default cache size is
95-
* 100MB.
93+
* Once configured, the SDK will attempt to remove documents that are least recently used in
94+
* batches, if the current cache size is larger than the given target cache size. Default cache size
95+
* is 100MB.
9696
*
9797
* To use, create an instance using one of the initializers, then initialize
9898
* `MemoryCacheSettings` with this instance.
@@ -101,13 +101,13 @@ NS_SWIFT_NAME(MemoryLRUGCSettings)
101101
@interface FIRMemoryLRUGCSettings : NSObject <NSCopying, FIRMemoryGarbageCollectorSettings>
102102

103103
/**
104-
* Creates an instnace of `FIRMemoryLRUGCSettings`, with default target cache size 100MB. The SDK
104+
* Creates an instance of `FIRMemoryLRUGCSettings`, with default target cache size 100MB. The SDK
105105
* will run garbage collection if the current cache size is larger than 100MB.
106106
*/
107107
- (instancetype)init;
108108

109109
/**
110-
* Creates an instnace of `FIRMemoryLRUGCSettings`, with a custom target cache size. The SDK will
110+
* Creates an instance of `FIRMemoryLRUGCSettings`, with a custom target cache size. The SDK will
111111
* run garbage collection if the current cache size is larger than the given size.
112112
*/
113113
- (instancetype)initWithSizeBytes:(NSNumber *)size;
@@ -126,12 +126,12 @@ NS_SWIFT_NAME(MemoryCacheSettings)
126126
@interface FIRMemoryCacheSettings : NSObject <NSCopying, FIRLocalCacheSettings>
127127

128128
/**
129-
* Creates an instnace of `MemoryCacheSettings`.
129+
* Creates an instance of `MemoryCacheSettings`.
130130
*/
131131
- (instancetype)init;
132132

133133
/**
134-
* Creates an instnace of `MemoryCacheSettings` with given `MemoryGarbageCollectorSettings` to
134+
* Creates an instance of `MemoryCacheSettings` with given `MemoryGarbageCollectorSettings` to
135135
* custom the gabarge collector.
136136
*/
137137
- (instancetype)initWithGarbageCollectorSettings:

0 commit comments

Comments
 (0)