Skip to content

Commit f481ae3

Browse files
committed
Fix javadoc typos.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/trunk@1439408 13f79535-47bb-0310-9956-ffa450edef68
1 parent 4e40961 commit f481ae3

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ public void printHelp(PrintWriter pw, int width, String cmdLineSyntax,
512512
* @param pw the writer to which the help will be written
513513
* @param width the number of characters to be displayed on each line
514514
* @param cmdLineSyntax the syntax for this application
515-
* @param header the banner to display at the begining of the help
515+
* @param header the banner to display at the beginning of the help
516516
* @param options the Options instance
517517
* @param leftPad the number of characters of padding to be prefixed
518518
* to each line
@@ -965,7 +965,7 @@ private Appendable renderWrappedTextBlock(StringBuffer sb, int width, int nextLi
965965
* @param width width of the wrapped text
966966
* @param startPos position from which to start the lookup whitespace
967967
* character
968-
* @return postion on which the text must be wrapped or -1 if the wrap
968+
* @return position on which the text must be wrapped or -1 if the wrap
969969
* position is at the end of the text
970970
*/
971971
protected int findWrapPos(String text, int width, int startPos)

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ private OptionValidator()
3434
}
3535

3636
/**
37-
* Validates whether <code>opt</code> is a permissable Option
37+
* Validates whether <code>opt</code> is a permissible Option
3838
* shortOpt. The rules that specify if the <code>opt</code>
3939
* is valid are:
4040
*

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ private Util()
3333
}
3434

3535
/**
36-
* Remove the hyphens from the begining of <code>str</code> and
36+
* Remove the hyphens from the beginning of <code>str</code> and
3737
* return the new String.
3838
*
3939
* @param str The string from which the hyphens should be removed.

0 commit comments

Comments
 (0)