Skip to content

Commit 6514aa3

Browse files
committed
nit on warning
1 parent f775263 commit 6514aa3

File tree

6 files changed

+31
-31
lines changed

6 files changed

+31
-31
lines changed

Sources/ParseSwift/Objects/ParseInstallation.swift

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -445,8 +445,8 @@ extension ParseInstallation {
445445
`isIgnoreCustomObjectIdConfig = false`. Setting
446446
`ParseConfiguration.allowCustomObjectId = true` and
447447
`isIgnoreCustomObjectIdConfig = true` means the client will generate `objectId`'s
448-
and the server will generate an `objectId` only when the client does not provide one. This can lead
449-
to collisions of `objectId`'s as the client and server `objectId`'s may be generated using
448+
and the server will generate an `objectId` only when the client does not provide one. This can
449+
increase the probability of colliiding `objectId`'s as the client and server `objectId`'s may be generated using
450450
different algorithms. This can also lead to overwriting of `ParseObject`'s by accident as the
451451
client-side checks are disabled. Developers are responsible for handling such cases.
452452
*/
@@ -496,8 +496,8 @@ extension ParseInstallation {
496496
`isIgnoreCustomObjectIdConfig = false`. Setting
497497
`ParseConfiguration.allowCustomObjectId = true` and
498498
`isIgnoreCustomObjectIdConfig = true` means the client will generate `objectId`'s
499-
and the server will generate an `objectId` only when the client does not provide one. This can lead
500-
to collisions of `objectId`'s as the client and server `objectId`'s may be generated using
499+
and the server will generate an `objectId` only when the client does not provide one. This can
500+
increase the probability of colliiding `objectId`'s as the client and server `objectId`'s may be generated using
501501
different algorithms. This can also lead to overwriting of `ParseObject`'s by accident as the
502502
client-side checks are disabled. Developers are responsible for handling such cases.
503503
*/
@@ -700,8 +700,8 @@ public extension Sequence where Element: ParseInstallation {
700700
`isIgnoreCustomObjectIdConfig = false`. Setting
701701
`ParseConfiguration.allowCustomObjectId = true` and
702702
`isIgnoreCustomObjectIdConfig = true` means the client will generate `objectId`'s
703-
and the server will generate an `objectId` only when the client does not provide one. This can lead
704-
to collisions of `objectId`'s as the client and server `objectId`'s may be generated using
703+
and the server will generate an `objectId` only when the client does not provide one. This can
704+
increase the probability of colliiding `objectId`'s as the client and server `objectId`'s may be generated using
705705
different algorithms. This can also lead to overwriting of `ParseObject`'s by accident as the
706706
client-side checks are disabled. Developers are responsible for handling such cases.
707707
*/
@@ -801,8 +801,8 @@ public extension Sequence where Element: ParseInstallation {
801801
`isIgnoreCustomObjectIdConfig = false`. Setting
802802
`ParseConfiguration.allowCustomObjectId = true` and
803803
`isIgnoreCustomObjectIdConfig = true` means the client will generate `objectId`'s
804-
and the server will generate an `objectId` only when the client does not provide one. This can lead
805-
to collisions of `objectId`'s as the client and server `objectId`'s may be generated using
804+
and the server will generate an `objectId` only when the client does not provide one. This can
805+
increase the probability of colliiding `objectId`'s as the client and server `objectId`'s may be generated using
806806
different algorithms. This can also lead to overwriting of `ParseObject`'s by accident as the
807807
client-side checks are disabled. Developers are responsible for handling such cases.
808808
*/

Sources/ParseSwift/Objects/ParseObject+combine.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,8 @@ public extension Sequence where Element: ParseObject {
105105
`isIgnoreCustomObjectIdConfig = false`. Setting
106106
`ParseConfiguration.allowCustomObjectId = true` and
107107
`isIgnoreCustomObjectIdConfig = true` means the client will generate `objectId`'s
108-
and the server will generate an `objectId` only when the client does not provide one. This can lead
109-
to collisions of `objectId`'s as the client and server `objectId`'s may be generated using
108+
and the server will generate an `objectId` only when the client does not provide one. This can
109+
increase the probability of colliiding `objectId`'s as the client and server `objectId`'s may be generated using
110110
different algorithms. This can also lead to overwriting of `ParseObject`'s by accident as the
111111
client-side checks are disabled. Developers are responsible for handling such cases.
112112
*/

Sources/ParseSwift/Objects/ParseObject.swift

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@ public extension Sequence where Element: ParseObject {
8282
`isIgnoreCustomObjectIdConfig = false`. Setting
8383
`ParseConfiguration.allowCustomObjectId = true` and
8484
`isIgnoreCustomObjectIdConfig = true` means the client will generate `objectId`'s
85-
and the server will generate an `objectId` only when the client does not provide one. This can lead
86-
to collisions of `objectId`'s as the client and server `objectId`'s may be generated using
85+
and the server will generate an `objectId` only when the client does not provide one. This can
86+
increase the probability of colliiding `objectId`'s as the client and server `objectId`'s may be generated using
8787
different algorithms. This can also lead to overwriting of `ParseObject`'s by accident as the
8888
client-side checks are disabled. Developers are responsible for handling such cases.
8989
*/
@@ -179,8 +179,8 @@ public extension Sequence where Element: ParseObject {
179179
`isIgnoreCustomObjectIdConfig = false`. Setting
180180
`ParseConfiguration.allowCustomObjectId = true` and
181181
`isIgnoreCustomObjectIdConfig = true` means the client will generate `objectId`'s
182-
and the server will generate an `objectId` only when the client does not provide one. This can lead
183-
to collisions of `objectId`'s as the client and server `objectId`'s may be generated using
182+
and the server will generate an `objectId` only when the client does not provide one. This can
183+
increase the probability of colliiding `objectId`'s as the client and server `objectId`'s may be generated using
184184
different algorithms. This can also lead to overwriting of `ParseObject`'s by accident as the
185185
client-side checks are disabled. Developers are responsible for handling such cases.
186186
*/
@@ -625,8 +625,8 @@ extension ParseObject {
625625
`isIgnoreCustomObjectIdConfig = false`. Setting
626626
`ParseConfiguration.allowCustomObjectId = true` and
627627
`isIgnoreCustomObjectIdConfig = true` means the client will generate `objectId`'s
628-
and the server will generate an `objectId` only when the client does not provide one. This can lead
629-
to collisions of `objectId`'s as the client and server `objectId`'s may be generated using
628+
and the server will generate an `objectId` only when the client does not provide one. This can
629+
increase the probability of colliiding `objectId`'s as the client and server `objectId`'s may be generated using
630630
different algorithms. This can also lead to overwriting of `ParseObject`'s by accident as the
631631
client-side checks are disabled. Developers are responsible for handling such cases.
632632
*/
@@ -673,8 +673,8 @@ extension ParseObject {
673673
`isIgnoreCustomObjectIdConfig = false`. Setting
674674
`ParseConfiguration.allowCustomObjectId = true` and
675675
`isIgnoreCustomObjectIdConfig = true` means the client will generate `objectId`'s
676-
and the server will generate an `objectId` only when the client does not provide one. This can lead
677-
to collisions of `objectId`'s as the client and server `objectId`'s may be generated using
676+
and the server will generate an `objectId` only when the client does not provide one. This can
677+
increase the probability of colliiding `objectId`'s as the client and server `objectId`'s may be generated using
678678
different algorithms. This can also lead to overwriting of `ParseObject`'s by accident as the
679679
client-side checks are disabled. Developers are responsible for handling such cases.
680680
*/

Sources/ParseSwift/Objects/ParseUser+combine.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -171,8 +171,8 @@ public extension ParseUser {
171171
`isIgnoreCustomObjectIdConfig = false`. Setting
172172
`ParseConfiguration.allowCustomObjectId = true` and
173173
`isIgnoreCustomObjectIdConfig = true` means the client will generate `objectId`'s
174-
and the server will generate an `objectId` only when the client does not provide one. This can lead
175-
to collisions of `objectId`'s as the client and server `objectId`'s may be generated using
174+
and the server will generate an `objectId` only when the client does not provide one. This can
175+
increase the probability of colliiding `objectId`'s as the client and server `objectId`'s may be generated using
176176
different algorithms. This can also lead to overwriting of `ParseObject`'s by accident as the
177177
client-side checks are disabled. Developers are responsible for handling such cases.
178178
*/
@@ -243,8 +243,8 @@ public extension Sequence where Element: ParseUser {
243243
`isIgnoreCustomObjectIdConfig = false`. Setting
244244
`ParseConfiguration.allowCustomObjectId = true` and
245245
`isIgnoreCustomObjectIdConfig = true` means the client will generate `objectId`'s
246-
and the server will generate an `objectId` only when the client does not provide one. This can lead
247-
to collisions of `objectId`'s as the client and server `objectId`'s may be generated using
246+
and the server will generate an `objectId` only when the client does not provide one. This can
247+
increase the probability of colliiding `objectId`'s as the client and server `objectId`'s may be generated using
248248
different algorithms. This can also lead to overwriting of `ParseObject`'s by accident as the
249249
client-side checks are disabled. Developers are responsible for handling such cases.
250250
*/

Sources/ParseSwift/Objects/ParseUser.swift

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -826,8 +826,8 @@ extension ParseUser {
826826
`isIgnoreCustomObjectIdConfig = false`. Setting
827827
`ParseConfiguration.allowCustomObjectId = true` and
828828
`isIgnoreCustomObjectIdConfig = true` means the client will generate `objectId`'s
829-
and the server will generate an `objectId` only when the client does not provide one. This can lead
830-
to collisions of `objectId`'s as the client and server `objectId`'s may be generated using
829+
and the server will generate an `objectId` only when the client does not provide one. This can
830+
increase the probability of colliiding `objectId`'s as the client and server `objectId`'s may be generated using
831831
different algorithms. This can also lead to overwriting of `ParseObject`'s by accident as the
832832
client-side checks are disabled. Developers are responsible for handling such cases.
833833
*/
@@ -877,8 +877,8 @@ extension ParseUser {
877877
`isIgnoreCustomObjectIdConfig = false`. Setting
878878
`ParseConfiguration.allowCustomObjectId = true` and
879879
`isIgnoreCustomObjectIdConfig = true` means the client will generate `objectId`'s
880-
and the server will generate an `objectId` only when the client does not provide one. This can lead
881-
to collisions of `objectId`'s as the client and server `objectId`'s may be generated using
880+
and the server will generate an `objectId` only when the client does not provide one. This can
881+
increase the probability of colliiding `objectId`'s as the client and server `objectId`'s may be generated using
882882
different algorithms. This can also lead to overwriting of `ParseObject`'s by accident as the
883883
client-side checks are disabled. Developers are responsible for handling such cases.
884884
*/
@@ -1058,8 +1058,8 @@ public extension Sequence where Element: ParseUser {
10581058
`isIgnoreCustomObjectIdConfig = false`. Setting
10591059
`ParseConfiguration.allowCustomObjectId = true` and
10601060
`isIgnoreCustomObjectIdConfig = true` means the client will generate `objectId`'s
1061-
and the server will generate an `objectId` only when the client does not provide one. This can lead
1062-
to collisions of `objectId`'s as the client and server `objectId`'s may be generated using
1061+
and the server will generate an `objectId` only when the client does not provide one. This can
1062+
increase the probability of colliiding `objectId`'s as the client and server `objectId`'s may be generated using
10631063
different algorithms. This can also lead to overwriting of `ParseObject`'s by accident as the
10641064
client-side checks are disabled. Developers are responsible for handling such cases.
10651065
*/
@@ -1158,8 +1158,8 @@ public extension Sequence where Element: ParseUser {
11581158
`isIgnoreCustomObjectIdConfig = false`. Setting
11591159
`ParseConfiguration.allowCustomObjectId = true` and
11601160
`isIgnoreCustomObjectIdConfig = true` means the client will generate `objectId`'s
1161-
and the server will generate an `objectId` only when the client does not provide one. This can lead
1162-
to collisions of `objectId`'s as the client and server `objectId`'s may be generated using
1161+
and the server will generate an `objectId` only when the client does not provide one. This can
1162+
increase the probability of colliiding `objectId`'s as the client and server `objectId`'s may be generated using
11631163
different algorithms. This can also lead to overwriting of `ParseObject`'s by accident as the
11641164
client-side checks are disabled. Developers are responsible for handling such cases.
11651165
*/

Sources/ParseSwift/Storage/KeychainStore.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ func getKeychainQueryTemplate(forService service: String) -> [String: String] {
1919
query[kSecAttrService as String] = service
2020
}
2121
query[kSecClass as String] = kSecClassGenericPassword as String
22-
query[kSecAttrAccessible as String] = kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly as String
22+
query[kSecAttrAccessible as String] = kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly as String
2323
return query
2424
}
2525

0 commit comments

Comments
 (0)