mirror of
https://github.com/github/codeql.git
synced 2026-04-28 02:05:14 +02:00
Simplify test for no-arg constructor
This commit is contained in:
@@ -24,7 +24,7 @@ predicate isCreatingOutdatedAzureClientSideEncryptionObject(Call call, Class c)
|
||||
(
|
||||
type = "EncryptedBlobClientBuilder" and
|
||||
package = "com.azure.storage.blob.specialized.cryptography" and
|
||||
not exists(Expr e | e = call.getArgument(0))
|
||||
constructor.hasNoParameters()
|
||||
or
|
||||
type = "BlobEncryptionPolicy" and package = "com.microsoft.azure.storage.blob"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user