Changeset 6133


Ignore:
Timestamp:
04/18/10 19:47:57 (10 years ago)
Author:
curtis
Message:

Fix some minor unchecked warnings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/utils/DumpClass.java

    r5605 r6133  
    1616public class DumpClass { 
    1717 
    18   @SuppressWarnings("unchecked") 
    1918  public static void main(String[] args) throws Exception { 
    2019    for (int i=0; i<args.length; i++) { 
    21       Class c = Class.forName(args[i]); 
     20      Class<?> c = Class.forName(args[i]); 
    2221      System.out.println("Class = " + c); 
    2322 
    2423      System.out.println(); 
    2524      System.out.println("[Constructors]"); 
    26       Constructor[] con = c.getDeclaredConstructors(); 
     25      Constructor<?>[] con = c.getDeclaredConstructors(); 
    2726      for (int j=0; j<con.length; j++) System.out.println(con[j]); 
    2827 
Note: See TracChangeset for help on using the changeset viewer.