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]); |