Skip to content

Commit 0f56df9

Browse files
committed
JavaDoc fixes. Patch provided by GitHub user sebkur. This fixes apache#8 from GitHub.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/trunk@1783175 13f79535-47bb-0310-9956-ffa450edef68
1 parent b486fbd commit 0f56df9

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -659,7 +659,7 @@ private void updateRequiredOptions(Option option) throws AlreadySelectedExceptio
659659
*
660660
* <ul>
661661
* <li>ignore the first character ("<b>-</b>")</li>
662-
* <li>foreach remaining character check if an {@link Option}
662+
* <li>for each remaining character check if an {@link Option}
663663
* exists with that id.</li>
664664
* <li>if an {@link Option} does exist then add that character
665665
* prepended with "<b>-</b>" to the list of processed tokens.</li>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ private void processOptionToken(String token, boolean stopAtNonOption)
241241
*
242242
* <ul>
243243
* <li>ignore the first character ("<b>-</b>")</li>
244-
* <li>foreach remaining character check if an {@link Option}
244+
* <li>for each remaining character check if an {@link Option}
245245
* exists with that id.</li>
246246
* <li>if an {@link Option} does exist then add that character
247247
* prepended with "<b>-</b>" to the list of processed tokens.</li>

0 commit comments

Comments
 (0)