mirror of
https://github.com/github/codeql.git
synced 2026-05-03 04:39:29 +02:00
Java: Normalize parentheses.
This commit is contained in:
@@ -25,16 +25,12 @@ class ThreadClass extends Class {
|
||||
(
|
||||
result.getNumberOfParameters() = 0
|
||||
or
|
||||
(
|
||||
result.getNumberOfParameters() = 1 and
|
||||
result.getParameter(0).getType().(RefType).hasQualifiedName("java.lang", "String")
|
||||
)
|
||||
result.getNumberOfParameters() = 1 and
|
||||
result.getParameter(0).getType().(RefType).hasQualifiedName("java.lang", "String")
|
||||
or
|
||||
(
|
||||
result.getNumberOfParameters() = 2 and
|
||||
result.getParameter(0).getType().(RefType).hasQualifiedName("java.lang", "ThreadGroup") and
|
||||
result.getParameter(1).getType().(RefType).hasQualifiedName("java.lang", "String")
|
||||
)
|
||||
result.getNumberOfParameters() = 2 and
|
||||
result.getParameter(0).getType().(RefType).hasQualifiedName("java.lang", "ThreadGroup") and
|
||||
result.getParameter(1).getType().(RefType).hasQualifiedName("java.lang", "String")
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user