Skip to content

Commit ea85e69

Browse files
committed
Added javadoc for member fields, formatting, fix eclipse warning wrt raw types.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/trunk@1439421 13f79535-47bb-0310-9956-ffa450edef68
1 parent 1e6aa8c commit ea85e69

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

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

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,10 @@
3131
*/
3232
public class DefaultParser implements CommandLineParser
3333
{
34+
/** The command-line instance. */
3435
protected CommandLine cmd;
36+
37+
/** The current options. */
3538
protected Options options;
3639

3740
/**
@@ -94,7 +97,8 @@ public CommandLine parse(Options options, String[] arguments, boolean stopAtNonO
9497
* @throws ParseException if there are any problems encountered
9598
* while parsing the command line tokens.
9699
*/
97-
public CommandLine parse(Options options, String[] arguments, Properties properties, boolean stopAtNonOption) throws ParseException
100+
public CommandLine parse(Options options, String[] arguments, Properties properties, boolean stopAtNonOption)
101+
throws ParseException
98102
{
99103
this.options = options;
100104
this.stopAtNonOption = stopAtNonOption;
@@ -141,7 +145,7 @@ private void handleProperties(Properties properties) throws ParseException
141145
return;
142146
}
143147

144-
for (Enumeration e = properties.propertyNames(); e.hasMoreElements();)
148+
for (Enumeration<?> e = properties.propertyNames(); e.hasMoreElements();)
145149
{
146150
String option = e.nextElement().toString();
147151

0 commit comments

Comments
 (0)