< prev index next >

src/com/sun/javatest/LastRunInfo.java

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

*** 139,150 **** private static String join(List<String> list) { if (list == null) { return ""; } StringBuffer sb = new StringBuffer(); ! for (Iterator it = list.iterator(); it.hasNext();) { ! sb.append((String)it.next()); sb.append(SEP); } // remove trailing space if (sb.length() > 0 && sb.charAt(sb.length()-1) == ' ') --- 139,150 ---- private static String join(List<String> list) { if (list == null) { return ""; } StringBuffer sb = new StringBuffer(); ! for (Iterator<String> it = list.iterator(); it.hasNext();) { ! sb.append(it.next()); sb.append(SEP); } // remove trailing space if (sb.length() > 0 && sb.charAt(sb.length()-1) == ' ')
< prev index next >