mirror of
https://github.com/github/codeql.git
synced 2026-05-04 21:25:44 +02:00
Java: Normalize parentheses.
This commit is contained in:
@@ -14,9 +14,6 @@ import java
|
||||
from EmptyStmt empty, string action
|
||||
where
|
||||
if exists(LoopStmt l | l.getBody() = empty)
|
||||
then (
|
||||
action = "turned into '{}'"
|
||||
) else (
|
||||
action = "deleted"
|
||||
)
|
||||
then action = "turned into '{}'"
|
||||
else action = "deleted"
|
||||
select empty, "This empty statement should be " + action + "."
|
||||
|
||||
Reference in New Issue
Block a user