Skip to content

Commit

Permalink
fix(CompletableFutureUtils): fix element index of exception msg
Browse files Browse the repository at this point in the history
  • Loading branch information
oldratlee committed Apr 18, 2024
1 parent 6216388 commit 12e03b3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ public static <T> CompletableFuture<List<T>> allOfFastFailWithResult(Completable
private static void requireCfsAndEleNonNull(CompletableFuture<?>... cfs) {
requireNonNull(cfs, "cfs is null");
for (int i = 0; i < cfs.length; i++) {
requireNonNull(cfs[i], "cf" + i + " is null");
requireNonNull(cfs[i], "cf" + (i + 1) + " is null");
}
}

Expand Down

0 comments on commit 12e03b3

Please sign in to comment.