< 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,75 **** */ public JMenuItem[] getMenuItems(int position) { if (bank == null) return null; else { ! ArrayList al = bank[position]; if (al.size() == 0) return null; else { JMenuItem[] result = new JMenuItem[al.size()]; al.toArray(result); --- 65,75 ---- */ public JMenuItem[] getMenuItems(int position) { if (bank == null) return null; else { ! ArrayList<JMenuItem> al = bank[position]; if (al.size() == 0) return null; else { JMenuItem[] result = new JMenuItem[al.size()]; al.toArray(result);
< prev index next >