Skip to content

Commit

Permalink
clarify comment
Browse files Browse the repository at this point in the history
  • Loading branch information
msridhar committed Aug 24, 2024
1 parent 252e6c3 commit 925265d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nullaway/src/main/java/com/uber/nullaway/NullAway.java
Original file line number Diff line number Diff line change
Expand Up @@ -1792,7 +1792,8 @@ private Description handleInvocation(
if (!argIsNonNull) {
continue;
}
// TODO report an error for each violating vararg
// TODO report all varargs errors in a single build; this code only reports the first
// error
for (ExpressionTree arg : actualParams.subList(argPos, actualParams.size())) {
actual = arg;
mayActualBeNull = mayBeNullExpr(state, actual);
Expand Down

0 comments on commit 925265d

Please sign in to comment.