Kotlin: Apply review feedback

This commit is contained in:
Ian Lynagh
2022-04-29 13:04:06 +01:00
parent 2e3d2b8e11
commit af3bc4f44d
2 changed files with 1 additions and 3 deletions

View File

@@ -623,8 +623,6 @@ private module ControlFlowGraphImpl {
or
result = first(n.(InstanceOfExpr).getExpr())
or
result = first(n.(NotInstanceOfExpr).getExpr())
or
result = first(n.(SynchronizedStmt).getExpr())
or
result = n and

View File

@@ -2357,7 +2357,7 @@ class Argument extends Expr {
tgt.getParameter(varargsParamPos).isVarargs() and
arrayindex = pos - varargsParamPos and
arrayindex >= 0 and
arrayindex <= (call.getNumArgument() - tgt.getNumberOfParameters())
arrayindex <= call.getNumArgument() - tgt.getNumberOfParameters()
)
}
}