Author: simonetripodi
Date: Thu Apr 21 07:31:53 2011
New Revision: 1095616
URL: http://svn.apache.org/viewvc?rev=1095616&view=rev
Log:
options is a collection of Option, so the iterator can be safely typed
Modified:
commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/CommandLine.java
Modified:
commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/CommandLine.java
URL:
http://svn.apache.org/viewvc/commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/CommandLine.java?rev=1095616&r1=1095615&r2=1095616&view=diff
==============================================================================
---
commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/CommandLine.java
(original)
+++
commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/CommandLine.java
Thu Apr 21 07:31:53 2011
@@ -359,7 +359,7 @@ public class CommandLine implements Seri
* @return an <code>Iterator</code> over the processed {@link Option}
* members of this {@link CommandLine}
*/
- public Iterator iterator()
+ public Iterator<Option> iterator()
{
return options.iterator();
}