Skip to content

Commit 22b9ef2

Browse files
committed
Java: Adapt ExternalApi to refactor.
1 parent 94a72ec commit 22b9ef2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/ql/src/Telemetry/ExternalApi.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ class ExternalApi extends Callable {
6969

7070
/** Holds if this API has a supported summary. */
7171
predicate hasSummary() {
72-
this = any(SummarizedCallable sc).asCallable() or
72+
this instanceof SummarizedCallable or
7373
TaintTracking::localAdditionalTaintStep(this.getAnInput(), _)
7474
}
7575

0 commit comments

Comments
 (0)