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 a477af73 Javadoc: English, not Latin a477af73 is described below commit a477af7379dfd2c0f40cc85fb3dcfb1d21b9b6c4 Author: Gary D. Gregory <garydgreg...@gmail.com> AuthorDate: Tue Dec 31 08:33:44 2024 -0500 Javadoc: English, not Latin --- src/main/java/org/apache/commons/cli/GnuParser.java | 2 +- src/main/java/org/apache/commons/cli/help/TextHelpAppendable.java | 2 +- src/test/java/org/apache/commons/cli/ApplicationTest.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/org/apache/commons/cli/GnuParser.java b/src/main/java/org/apache/commons/cli/GnuParser.java index 1c2f0e3e..6a5e84f6 100644 --- a/src/main/java/org/apache/commons/cli/GnuParser.java +++ b/src/main/java/org/apache/commons/cli/GnuParser.java @@ -33,7 +33,7 @@ public class GnuParser extends Parser { * <ol> * <li>If an {@link Option} exists for the first character of the {@code arguments} entry <strong>AND</strong> an * {@link Option} does not exist for the whole {@code argument} then add the first character as an option to the - * processed tokens list e.g. "-D" and add the rest of the entry to the also.</li> + * processed tokens list for example "-D" and add the rest of the entry to the also.</li> * <li>Otherwise just add the token to the processed tokens list.</li> * </ol> * diff --git a/src/main/java/org/apache/commons/cli/help/TextHelpAppendable.java b/src/main/java/org/apache/commons/cli/help/TextHelpAppendable.java index e3403add..f9878bf5 100644 --- a/src/main/java/org/apache/commons/cli/help/TextHelpAppendable.java +++ b/src/main/java/org/apache/commons/cli/help/TextHelpAppendable.java @@ -388,7 +388,7 @@ public class TextHelpAppendable extends FilterHelpAppendable { * Resizes a TextStyle builder based on the fractional size. * * @param builder the builder to adjust. - * @param fraction the fractional size (e.g. percentage of the current size) that the builder should be. + * @param fraction the fractional size (for example percentage of the current size) that the builder should be. * @return the builder with the maximum width and indent values resized. */ protected TextStyle.Builder resize(final TextStyle.Builder builder, final double fraction) { diff --git a/src/test/java/org/apache/commons/cli/ApplicationTest.java b/src/test/java/org/apache/commons/cli/ApplicationTest.java index 072e2d89..2a7c181b 100644 --- a/src/test/java/org/apache/commons/cli/ApplicationTest.java +++ b/src/test/java/org/apache/commons/cli/ApplicationTest.java @@ -125,7 +125,7 @@ public class ApplicationTest { options.addOption( OptionBuilder.withArgName("extension") .hasOptionalArg() - .withDescription("modify files in place; create backup if extension is given (e.g. \'.bak\')") + .withDescription("modify files in place; create backup if extension is given (for example \'.bak\')") .create('i')); options.addOption( OptionBuilder.hasArg(false)