mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Java: Fix whitespace query.
This commit is contained in:
@@ -145,7 +145,8 @@ int operatorWS(BinaryExpr expr) {
|
||||
predicate interestingNesting(BinaryExpr inner, BinaryExpr outer) {
|
||||
inner = outer.getAChildExpr() and
|
||||
not inner instanceof AssocNestedExpr and
|
||||
not inner instanceof HarmlessNestedExpr
|
||||
not inner instanceof HarmlessNestedExpr and
|
||||
not inner.isParenthesized()
|
||||
}
|
||||
|
||||
from BinaryExpr inner, BinaryExpr outer, int wsouter, int wsinner
|
||||
|
||||
Reference in New Issue
Block a user