Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
vaperion committed Jan 19, 2023
1 parent 54b8183 commit d9ab7f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ public class DataArgumentProvider implements ArgumentProvider<Data> {

// If you couldn't parse their input, you can check if the argument is optional:
if (arg.getParameter().ignoreFailedArgumentParse()) {
// If it is, you can return null to use the default value
// If it is, you can return null
return null;
} else {
// If it isn't, you can throw an exception to show a custom message
Expand Down

0 comments on commit d9ab7f8

Please sign in to comment.