mirror of
https://github.com/github/codeql.git
synced 2026-04-30 03:05:15 +02:00
Merge pull request #2719 from aschackmull/java/deprecate-parexpr
Java: Deprecate ParExpr
This commit is contained in:
@@ -4,6 +4,5 @@ import semmle.code.java.controlflow.Guards
|
||||
from Guard g, BasicBlock bb, boolean branch
|
||||
where
|
||||
g.controls(bb, branch) and
|
||||
not g instanceof ParExpr and
|
||||
g.getEnclosingCallable().getDeclaringType().hasName("Logic")
|
||||
select g, branch, bb
|
||||
|
||||
Reference in New Issue
Block a user