mirror of
https://github.com/github/codeql.git
synced 2026-05-04 05:05:12 +02:00
Java: Fix perf issue.
This commit is contained in:
@@ -160,7 +160,7 @@ private class NumberTaintPreservingCallable extends TaintPreservingCallable {
|
||||
int argument;
|
||||
|
||||
NumberTaintPreservingCallable() {
|
||||
this.getDeclaringType().getAnAncestor().hasQualifiedName("java.lang", "Number") and
|
||||
this.getDeclaringType().getASourceSupertype*().hasQualifiedName("java.lang", "Number") and
|
||||
(
|
||||
this instanceof Constructor and
|
||||
argument = 0
|
||||
|
||||
Reference in New Issue
Block a user