This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-cli.git
The following commit(s) were added to refs/heads/master by this push:
new fb92585 Normalize setter Javadoc
fb92585 is described below
commit fb92585d967e53e87886e0652755ad921b645c32
Author: Gary Gregory <[email protected]>
AuthorDate: Tue Oct 31 06:59:49 2023 -0400
Normalize setter Javadoc
---
src/main/java/org/apache/commons/cli/HelpFormatter.java | 4 ++--
src/main/java/org/apache/commons/cli/OptionGroup.java | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/main/java/org/apache/commons/cli/HelpFormatter.java
b/src/main/java/org/apache/commons/cli/HelpFormatter.java
index af68569..2f480e8 100644
--- a/src/main/java/org/apache/commons/cli/HelpFormatter.java
+++ b/src/main/java/org/apache/commons/cli/HelpFormatter.java
@@ -872,7 +872,7 @@ public class HelpFormatter {
}
/**
- * Set the separator displayed between a long option and its value. Ensure
that the separator specified is supported by
+ * Sets the separator displayed between a long option and its value.
Ensure that the separator specified is supported by
* the parser used, typically ' ' or '='.
*
* @param longOptSeparator the separator, typically ' ' or '='.
@@ -892,7 +892,7 @@ public class HelpFormatter {
}
/**
- * Set the comparator used to sort the options when they output in help
text. Passing in a null comparator will keep the
+ * Sets the comparator used to sort the options when they output in help
text. Passing in a null comparator will keep the
* options in the order they were declared.
*
* @param comparator the {@link Comparator} to use for sorting the options
diff --git a/src/main/java/org/apache/commons/cli/OptionGroup.java
b/src/main/java/org/apache/commons/cli/OptionGroup.java
index c4c7be4..3e21f2f 100644
--- a/src/main/java/org/apache/commons/cli/OptionGroup.java
+++ b/src/main/java/org/apache/commons/cli/OptionGroup.java
@@ -93,7 +93,7 @@ public class OptionGroup implements Serializable {
}
/**
- * Set the selected option of this group to {@code name}.
+ * Sets the selected option of this group to {@code name}.
*
* @param option the option that is selected
* @throws AlreadySelectedException if an option from this group has
already been selected.