Skip to content

Commit 20e5429

Browse files
authored
Merge pull request #2755 from github/starcke/fix-neutral-fetch
Fix ql code in neutral fetch.
2 parents d23178b + bc7c97e commit 20e5429

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • extensions/ql-vscode/src/data-extensions-editor/queries

extensions/ql-vscode/src/data-extensions-editor/queries/java.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ class CallableMethod extends Callable {
147147
148148
/** Holds if this API is a known neutral. */
149149
pragma[nomagic]
150-
predicate isNeutral() { this = any(FlowSummaryImpl::Public::NeutralCallable nsc).asCallable() }
150+
predicate isNeutral() { this instanceof FlowSummaryImpl::Public::NeutralCallable }
151151
152152
/**
153153
* Holds if this API is supported by existing CodeQL libraries, that is, it is either a

0 commit comments

Comments
 (0)