Skip to content

Commit a477af7

Browse files
committed
Javadoc: English, not Latin
1 parent af2b3e7 commit a477af7

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public class GnuParser extends Parser {
3333
* <ol>
3434
* <li>If an {@link Option} exists for the first character of the {@code arguments} entry <strong>AND</strong> an
3535
* {@link Option} does not exist for the whole {@code argument} then add the first character as an option to the
36-
* processed tokens list e.g. "-D" and add the rest of the entry to the also.</li>
36+
* processed tokens list for example "-D" and add the rest of the entry to the also.</li>
3737
* <li>Otherwise just add the token to the processed tokens list.</li>
3838
* </ol>
3939
*

src/main/java/org/apache/commons/cli/help/TextHelpAppendable.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ private int resize(final int orig, final double fraction) {
388388
* Resizes a TextStyle builder based on the fractional size.
389389
*
390390
* @param builder the builder to adjust.
391-
* @param fraction the fractional size (e.g. percentage of the current size) that the builder should be.
391+
* @param fraction the fractional size (for example percentage of the current size) that the builder should be.
392392
* @return the builder with the maximum width and indent values resized.
393393
*/
394394
protected TextStyle.Builder resize(final TextStyle.Builder builder, final double fraction) {

src/test/java/org/apache/commons/cli/ApplicationTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ public void testGroovy() throws Exception {
125125
options.addOption(
126126
OptionBuilder.withArgName("extension")
127127
.hasOptionalArg()
128-
.withDescription("modify files in place; create backup if extension is given (e.g. \'.bak\')")
128+
.withDescription("modify files in place; create backup if extension is given (for example \'.bak\')")
129129
.create('i'));
130130
options.addOption(
131131
OptionBuilder.hasArg(false)

0 commit comments

Comments
 (0)