Java: Fix compilation errors.

This commit is contained in:
Anders Schack-Mulligen
2022-10-13 11:16:49 +02:00
parent 51dfb319f5
commit 30a891c2e7
2 changed files with 2 additions and 2 deletions

View File

@@ -69,7 +69,7 @@ class ExternalApi extends Callable {
/** Holds if this API has a supported summary. */
predicate hasSummary() {
this instanceof SummarizedCallable or
this = any(SummarizedCallable sc).asCallable() or
TaintTracking::localAdditionalTaintStep(this.getAnInput(), _)
}

View File

@@ -14,7 +14,7 @@ import ExternalApi
private predicate relevant(ExternalApi api) {
not api.isUninteresting() and
not api.isSupported() and
not api instanceof FlowSummaryImpl::Public::NegativeSummarizedCallable
not api = any(FlowSummaryImpl::Public::NegativeSummarizedCallable nsc).asCallable()
}
from string apiName, int usages