Skip to content

Commit 850c1ec

Browse files
committed
Crypto: Fix use of a member where a singleton set literal exists
1 parent b08533b commit 850c1ec

File tree

1 file changed

+1
-1
lines changed
  • java/ql/lib/experimental/quantum

1 file changed

+1
-1
lines changed

java/ql/lib/experimental/quantum/JCA.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1223,7 +1223,7 @@ module JCAModel {
12231223
class Pbkdf2WithHmac_KeyOperationAlgorithmStringLiteral extends Crypto::KeyOperationAlgorithmInstance instanceof KdfAlgorithmStringLiteral
12241224
{
12251225
Pbkdf2WithHmac_KeyOperationAlgorithmStringLiteral() {
1226-
this.(StringLiteral).getValue().toUpperCase().matches(["PBKDF2WithHmac%"].toUpperCase())
1226+
this.(StringLiteral).getValue().toUpperCase().matches("PBKDF2WithHmac%".toUpperCase())
12271227
}
12281228

12291229
override Crypto::KeyOpAlg::AlgorithmType getAlgorithmType() {

0 commit comments

Comments
 (0)