Skip to content

Commit eae4898

Browse files
committed
Fix some obvious raw types
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/trunk@1440545 13f79535-47bb-0310-9956-ffa450edef68
1 parent 9d05157 commit eae4898

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,13 +76,13 @@ public List getMissingOptions()
7676
* @param missingOptions the list of missing options and groups
7777
* @since 1.2
7878
*/
79-
private static String createMessage(List missingOptions)
79+
private static String createMessage(List<?> missingOptions)
8080
{
8181
StringBuilder buf = new StringBuilder("Missing required option");
8282
buf.append(missingOptions.size() == 1 ? "" : "s");
8383
buf.append(": ");
8484

85-
Iterator it = missingOptions.iterator();
85+
Iterator<?> it = missingOptions.iterator();
8686
while (it.hasNext())
8787
{
8888
buf.append(it.next());

0 commit comments

Comments
 (0)