Java 13: remove superfluous disjunct in JumpStmt.getAPotentialTarget()

This commit is contained in:
yh-semmle
2019-10-11 09:52:25 -04:00
parent 8fb4dbe092
commit de0869c216

View File

@@ -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
)
}