Skip to content

Commit fb92585

Browse files
committed
Normalize setter Javadoc
1 parent f27954e commit fb92585

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/main/java/org/apache/commons/cli/HelpFormatter.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -872,7 +872,7 @@ public void setLongOptPrefix(final String prefix) {
872872
}
873873

874874
/**
875-
* Set the separator displayed between a long option and its value. Ensure that the separator specified is supported by
875+
* Sets the separator displayed between a long option and its value. Ensure that the separator specified is supported by
876876
* the parser used, typically ' ' or '='.
877877
*
878878
* @param longOptSeparator the separator, typically ' ' or '='.
@@ -892,7 +892,7 @@ public void setNewLine(final String newline) {
892892
}
893893

894894
/**
895-
* Set the comparator used to sort the options when they output in help text. Passing in a null comparator will keep the
895+
* Sets the comparator used to sort the options when they output in help text. Passing in a null comparator will keep the
896896
* options in the order they were declared.
897897
*
898898
* @param comparator the {@link Comparator} to use for sorting the options

src/main/java/org/apache/commons/cli/OptionGroup.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ public void setRequired(final boolean required) {
9393
}
9494

9595
/**
96-
* Set the selected option of this group to {@code name}.
96+
* Sets the selected option of this group to {@code name}.
9797
*
9898
* @param option the option that is selected
9999
* @throws AlreadySelectedException if an option from this group has already been selected.

0 commit comments

Comments
 (0)