mirror of
https://github.com/github/codeql.git
synced 2025-12-21 19:26:31 +01:00
Remove unnecessary type constraint
This commit is contained in:
@@ -31,7 +31,6 @@ class LoggingCall extends MethodAccess {
|
|||||||
exists(RefType t, Method m | t.hasQualifiedName("android.util", "Log") |
|
exists(RefType t, Method m | t.hasQualifiedName("android.util", "Log") |
|
||||||
m.hasName(["d", "e", "i", "v", "w", "wtf"]) and
|
m.hasName(["d", "e", "i", "v", "w", "wtf"]) and
|
||||||
m.getDeclaringType() = t and
|
m.getDeclaringType() = t and
|
||||||
m.getReturnType() instanceof IntegralType and
|
|
||||||
this = m.getAReference()
|
this = m.getAReference()
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user