< prev index next >

src/com/sun/javatest/exec/JavaTestMenuManager.java

Print this page
rev 145 : 7902237: Fixing raw use of parameterized class
Reviewed-by: jjg

@@ -65,11 +65,11 @@
      */
     public JMenuItem[] getMenuItems(int position) {
         if (bank == null)
             return null;
         else {
-            ArrayList al = bank[position];
+            ArrayList<JMenuItem> al = bank[position];
             if (al.size() == 0)
                 return null;
             else {
                 JMenuItem[] result = new JMenuItem[al.size()];
                 al.toArray(result);
< prev index next >