Skip to content

Commit 4a95454

Browse files
committed
Java: Fix perf issue.
1 parent 48116ee commit 4a95454

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/ql/lib/semmle/code/java/dataflow/FlowSteps.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ private class NumberTaintPreservingCallable extends TaintPreservingCallable {
160160
int argument;
161161

162162
NumberTaintPreservingCallable() {
163-
this.getDeclaringType().getAnAncestor().hasQualifiedName("java.lang", "Number") and
163+
this.getDeclaringType().getASourceSupertype*().hasQualifiedName("java.lang", "Number") and
164164
(
165165
this instanceof Constructor and
166166
argument = 0

0 commit comments

Comments
 (0)