mirror of
https://github.com/torproject/metrics-web.git
synced 2024-11-23 09:39:47 +00:00
Use StringBuilder's append rather than string concatenation.
This commit is contained in:
parent
79994eb3e1
commit
21277083a8
@ -180,8 +180,8 @@ public class Main {
|
||||
DateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd");
|
||||
dateFormat.setTimeZone(TimeZone.getTimeZone("UTC"));
|
||||
for (long conflictingDate : conflictingDates) {
|
||||
sb.append("\n "
|
||||
+ dateFormat.format(conflictingDate * ONE_DAY_IN_MILLIS));
|
||||
sb.append("\n ")
|
||||
.append(dateFormat.format(conflictingDate * ONE_DAY_IN_MILLIS));
|
||||
}
|
||||
log.warn(sb.toString());
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user