Skip to content

Commit 7d05446

Browse files
committed
Swift: Formatting.
1 parent c18de7d commit 7d05446

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

swift/ql/lib/codeql/swift/security/CleartextStoragePreferencesExtensions.qll

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@ class CleartextStoragePreferencesAdditionalFlowStep extends Unit {
3333
abstract predicate step(DataFlow::Node nodeFrom, DataFlow::Node nodeTo);
3434
}
3535

36-
/** The `DataFlow::Node` of an expression that gets written to the user defaults database */
36+
/**
37+
* The `DataFlow::Node` of an expression that gets written to the user defaults database.
38+
*/
3739
private class UserDefaultsStore extends CleartextStoragePreferencesSink {
3840
UserDefaultsStore() {
3941
exists(CallExpr call |
@@ -45,7 +47,9 @@ private class UserDefaultsStore extends CleartextStoragePreferencesSink {
4547
override string getStoreName() { result = "the user defaults database" }
4648
}
4749

48-
/** The `DataFlow::Node` of an expression that gets written to the iCloud-backed NSUbiquitousKeyValueStore */
50+
/**
51+
* The `DataFlow::Node` of an expression that gets written to the iCloud-backed `NSUbiquitousKeyValueStore`.
52+
*/
4953
private class NSUbiquitousKeyValueStore extends CleartextStoragePreferencesSink {
5054
NSUbiquitousKeyValueStore() {
5155
exists(CallExpr call |

0 commit comments

Comments
 (0)