Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e3d2b8 commit af3bc4fCopy full SHA for af3bc4f
2 files changed
java/ql/lib/semmle/code/java/ControlFlowGraph.qll
@@ -623,8 +623,6 @@ private module ControlFlowGraphImpl {
623
or
624
result = first(n.(InstanceOfExpr).getExpr())
625
626
- result = first(n.(NotInstanceOfExpr).getExpr())
627
- or
628
result = first(n.(SynchronizedStmt).getExpr())
629
630
result = n and
java/ql/lib/semmle/code/java/Expr.qll
@@ -2357,7 +2357,7 @@ class Argument extends Expr {
2357
tgt.getParameter(varargsParamPos).isVarargs() and
2358
arrayindex = pos - varargsParamPos and
2359
arrayindex >= 0 and
2360
- arrayindex <= (call.getNumArgument() - tgt.getNumberOfParameters())
+ arrayindex <= call.getNumArgument() - tgt.getNumberOfParameters()
2361
)
2362
}
2363
0 commit comments