File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ class ExternalApi extends Callable {
69
69
70
70
/** Holds if this API has a supported summary. */
71
71
predicate hasSummary ( ) {
72
- this instanceof SummarizedCallable or
72
+ this = any ( SummarizedCallable sc ) . asCallable ( ) or
73
73
TaintTracking:: localAdditionalTaintStep ( this .getAnInput ( ) , _)
74
74
}
75
75
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ import ExternalApi
14
14
private predicate relevant ( ExternalApi api ) {
15
15
not api .isUninteresting ( ) and
16
16
not api .isSupported ( ) and
17
- not api instanceof FlowSummaryImpl:: Public:: NegativeSummarizedCallable
17
+ not api = any ( FlowSummaryImpl:: Public:: NegativeSummarizedCallable nsc ) . asCallable ( )
18
18
}
19
19
20
20
from string apiName , int usages
You can’t perform that action at this time.
0 commit comments