Skip to content

Commit

Permalink
Rename #invalidArgument(int) to #invalidArgumentByIndex(int)
Browse files Browse the repository at this point in the history
This will prevent overlapping with `#invalidArgument(Object)`
  • Loading branch information
srnyx committed Sep 9, 2023
1 parent a479dd4 commit c52d402
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 void invalidArgument(@Nullable Object argument) {
*
* @param index the argument index
*/
public void invalidArgument(int index) {
public void invalidArgumentByIndex(int index) {
invalidArgument(args == null || args.length <= index ? index : args[index]);
}

Expand Down

0 comments on commit c52d402

Please sign in to comment.