Skip to content

Commit 7602e16

Browse files
committed
More typos, another raw type warning.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/trunk@1439423 13f79535-47bb-0310-9956-ffa450edef68
1 parent ea85e69 commit 7602e16

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ public class HelpFormatter
128128
public int defaultDescPad = DEFAULT_DESC_PAD;
129129

130130
/**
131-
* the string to display at the begining of the usage statement
131+
* the string to display at the beginning of the usage statement
132132
*
133133
* @deprecated Scope will be made private for next major version
134134
* - use get/setSyntaxPrefix methods instead.

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ protected abstract String[] flatten(Options opts, String[] arguments, boolean st
7373

7474
/**
7575
* Parses the specified <code>arguments</code> based
76-
* on the specifed {@link Options}.
76+
* on the specified {@link Options}.
7777
*
7878
* @param options the <code>Options</code>
7979
* @param arguments the <code>arguments</code>
@@ -254,7 +254,7 @@ protected void processProperties(Properties properties) throws ParseException
254254
return;
255255
}
256256

257-
for (Enumeration e = properties.propertyNames(); e.hasMoreElements();)
257+
for (Enumeration<?> e = properties.propertyNames(); e.hasMoreElements();)
258258
{
259259
String option = e.nextElement().toString();
260260

0 commit comments

Comments
 (0)