Skip to content

Commit 81e027f

Browse files
address QLDoc style comments
1 parent d56c82f commit 81e027f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

swift/ql/src/queries/Security/CWE-321/HardcodedEncryptionKey.ql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@ import DataFlow::PathGraph
2020
abstract class KeySource extends Expr { }
2121

2222
/**
23-
* The creation of a literal byte array.
23+
* A literal byte array is a key source.
2424
*/
2525
class ByteArrayLiteralSource extends KeySource {
2626
ByteArrayLiteralSource() { this = any(ArrayExpr arr | arr.getType().toString() = "Array<UInt8>") }
2727
}
2828

2929
/**
30-
* Any string literal as a key source.
30+
* A string literal is a key source.
3131
*/
3232
class StringLiteralSource extends KeySource {
3333
StringLiteralSource() { this instanceof StringLiteralExpr }

0 commit comments

Comments
 (0)