mirror of
https://github.com/github/codeql.git
synced 2026-04-29 10:45:15 +02:00
Java: remove parentheses
This commit is contained in:
@@ -22,13 +22,18 @@ private int getNumMadModeledApis(string package, string provenance) {
|
||||
package = sc.asCallable().getCompilationUnit().getPackage().getName() and
|
||||
sc.asCallable() instanceof DataFlowTargetApi and
|
||||
(
|
||||
sc.isAutoGenerated() and // "auto-only"
|
||||
// "auto-only"
|
||||
sc.isAutoGenerated() and
|
||||
provenance = "generated"
|
||||
or
|
||||
(sc.hasProvenance(false) and not sc.hasProvenance(true)) and // "manual-only"
|
||||
// "manual-only"
|
||||
sc.hasProvenance(false) and
|
||||
not sc.hasProvenance(true) and
|
||||
provenance = "manual"
|
||||
or
|
||||
(sc.hasProvenance(false) and sc.hasProvenance(true)) and // "both"
|
||||
// "both"
|
||||
sc.hasProvenance(false) and
|
||||
sc.hasProvenance(true) and
|
||||
provenance = "both"
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user