Java: remove parentheses

This commit is contained in:
Jami Cogswell
2022-12-13 11:08:00 -05:00
parent 028fc29639
commit 3da2fb933b

View File

@@ -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"
)
)