Skip to content

Commit

Permalink
Fix javadoc
Browse files Browse the repository at this point in the history
  • Loading branch information
alwyn974 committed Jun 27, 2021
1 parent ec14831 commit bd716ef
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ public CommandBuilder withExecutor(IExecutor executor) {
* Build the command
*
* @return an {@link ICommand} object
* @throws CommandBuilderException if the command doesn't match the requirement {@see #checkValidity}
* @throws CommandBuilderException if the command doesn't match the requirement
* @see #checkValidity()
*/
public ICommand build() throws CommandBuilderException {
checkValidity();
Expand Down Expand Up @@ -120,7 +121,7 @@ public IExecutor executor() {
*
* @throws CommandBuilderException if the command doesn't match the requirement
*/
private void checkValidity() throws CommandBuilderException {
protected void checkValidity() throws CommandBuilderException {
if (name == null)
throw new CommandBuilderException("name == null");
if (usage == null)
Expand Down

0 comments on commit bd716ef

Please sign in to comment.