mirror of
https://github.com/github/codeql.git
synced 2026-05-05 13:45:19 +02:00
Java 13: remove superfluous disjunct in JumpStmt.getAPotentialTarget()
This commit is contained in:
@@ -582,8 +582,7 @@ class JumpStmt extends Stmt {
|
||||
(
|
||||
result instanceof LoopStmt
|
||||
or
|
||||
(this instanceof BreakStmt or this instanceof YieldStmt) and
|
||||
result instanceof SwitchStmt
|
||||
this instanceof BreakStmt and result instanceof SwitchStmt
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user