commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1440545 - /commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/MissingOptionException.java
Date Wed, 30 Jan 2013 17:41:57 GMT
Author: sebb
Date: Wed Jan 30 17:41:56 2013
New Revision: 1440545

URL: http://svn.apache.org/viewvc?rev=1440545&view=rev
Log:
Fix some obvious raw types

Modified:
    commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/MissingOptionException.java

Modified: commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/MissingOptionException.java
URL: http://svn.apache.org/viewvc/commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/MissingOptionException.java?rev=1440545&r1=1440544&r2=1440545&view=diff
==============================================================================
--- commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/MissingOptionException.java
(original)
+++ commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/MissingOptionException.java
Wed Jan 30 17:41:56 2013
@@ -76,13 +76,13 @@ public class MissingOptionException exte
      * @param missingOptions the list of missing options and groups
      * @since 1.2
      */
-    private static String createMessage(List missingOptions)
+    private static String createMessage(List<?> missingOptions)
     {
         StringBuilder buf = new StringBuilder("Missing required option");
         buf.append(missingOptions.size() == 1 ? "" : "s");
         buf.append(": ");
 
-        Iterator it = missingOptions.iterator();
+        Iterator<?> it = missingOptions.iterator();
         while (it.hasNext())
         {
             buf.append(it.next());



Mime
View raw message