< prev index next >

src/java.desktop/share/classes/com/sun/media/sound/WaveExtensibleFileReader.java

Print this page
rev 10947 : 8055723: Replace concat String to append in StringBuilder parameters

*** 165,177 **** StringBuilder sb = new StringBuilder(); long m = 1; for (int i = 0; i < allchannelnames.length; i++) { if ((channelmask & m) != 0L) { if (i < channelnames.length) { ! sb.append(channelnames[i] + " "); } else { ! sb.append(allchannelnames[i] + " "); } } m *= 2L; } if (sb.length() == 0) --- 165,177 ---- StringBuilder sb = new StringBuilder(); long m = 1; for (int i = 0; i < allchannelnames.length; i++) { if ((channelmask & m) != 0L) { if (i < channelnames.length) { ! sb.append(channelnames[i]).append(' '); } else { ! sb.append(allchannelnames[i]).append(' '); } } m *= 2L; } if (sb.length() == 0)
< prev index next >