src/share/classes/com/sun/tools/doclets/internal/toolkit/taglets/TagletManager.java

changeset 1362
c46e0c9940d6
parent 1359
25e14ad23cef
child 1383
b980e8e6aabf
equal deleted inserted replaced
1361:6517bf8e50d0 1362:c46e0c9940d6
447 String[] locations = locationsSet.toArray(new String[]{}); 447 String[] locations = locationsSet.toArray(new String[]{});
448 if (locations == null || locations.length == 0) { 448 if (locations == null || locations.length == 0) {
449 //This known tag is excluded. 449 //This known tag is excluded.
450 return; 450 return;
451 } 451 }
452 StringBuffer combined_locations = new StringBuffer(); 452 StringBuilder combined_locations = new StringBuilder();
453 for (int i = 0; i < locations.length; i++) { 453 for (int i = 0; i < locations.length; i++) {
454 if (i > 0) { 454 if (i > 0) {
455 combined_locations.append(", "); 455 combined_locations.append(", ");
456 } 456 }
457 combined_locations.append(locations[i]); 457 combined_locations.append(locations[i]);

mercurial