Skip to content

Commit dc02243

Browse files
author
Benjamin Muskalla
committed
Remove superflous instanceof
1 parent 412bd32 commit dc02243

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

java/ql/src/utils/model-generator/CaptureSummaryModels.ql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,6 @@ class ParameterToReturnValueTaintConfig extends TaintTracking::Configuration {
180180

181181
override predicate isSource(DataFlow::Node source) {
182182
exists(TargetAPI api |
183-
source instanceof DataFlow::ParameterNode and
184183
api = source.asParameter().getCallable() and
185184
isRelevantType(api.getReturnType()) and
186185
isRelevantType(source.asParameter().getType())

0 commit comments

Comments
 (0)