mirror of
https://github.com/github/codeql.git
synced 2026-03-31 04:38:18 +02:00
Java: Align BinaryExpr.getOp() with AssignOp.getOp().
This commit is contained in:
@@ -138,7 +138,7 @@ int operatorWS(BinaryExpr expr) {
|
||||
endOfBinaryLhs(expr, line, lcol) and
|
||||
startOfBinaryRhs(expr, line, rcol) and
|
||||
parens = getParensNextToOp(expr) and
|
||||
result = rcol - lcol + 1 - expr.getOp().length() - parens
|
||||
result = rcol - lcol - 1 - expr.getOp().length() - parens
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user