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 11, 2024
1 parent 5a1342f commit 30a8cb7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ public static <T> CompletableFuture<List<T>> allOfFastFailWithResult(Completable
private static void requireCfsAndEleNonNull(CompletionStage<?>... 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 30a8cb7

Please sign in to comment.