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 f001b48f Javadoc @since tag should be after @return and @throws
f001b48f is described below
commit f001b48fa2b8fd89051197f3fdbbcb65ea037251
Author: Gary D. Gregory <[email protected]>
AuthorDate: Sat Mar 22 09:26:45 2025 -0400
Javadoc @since tag should be after @return and @throws
---
src/main/java/org/apache/commons/cli/help/OptionFormatter.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/main/java/org/apache/commons/cli/help/OptionFormatter.java
b/src/main/java/org/apache/commons/cli/help/OptionFormatter.java
index 5cba55ff..93daae3e 100644
--- a/src/main/java/org/apache/commons/cli/help/OptionFormatter.java
+++ b/src/main/java/org/apache/commons/cli/help/OptionFormatter.java
@@ -159,8 +159,8 @@ public final class OptionFormatter {
* Sets the separator displayed between a options and the argument
name. Typically ' ' or '='.
*
* @param optArgSeparator the separator.
- * @since 1.3
* @return this
+ * @since 1.3
*/
public Builder setOptArgSeparator(final String optArgSeparator) {
this.optArgSeparator = Util.defaultValue(optArgSeparator, "");
@@ -195,8 +195,8 @@ public final class OptionFormatter {
* Sets the separator displayed between a long option and short
options. Typically ',' or ' '.
*
* @param optSeparator the separator.
- * @since 1.3
* @return this
+ * @since 1.3
*/
public Builder setOptSeparator(final String optSeparator) {
this.optSeparator = Util.defaultValue(optSeparator, "");