Use StringBuilder instead of StringBuffer
Change-Id: Ia8784f55ad04cc0da490e3c56f1ae4dae7463656
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -501,7 +501,7 @@ public class FlowObjectiveManager implements FlowObjectiveService { | ... | @@ -501,7 +501,7 @@ public class FlowObjectiveManager implements FlowObjectiveService { |
501 | List<String> pendingNexts = new ArrayList<>(); | 501 | List<String> pendingNexts = new ArrayList<>(); |
502 | for (Integer nextId : pendingForwards.keySet()) { | 502 | for (Integer nextId : pendingForwards.keySet()) { |
503 | Set<PendingNext> pnext = pendingForwards.get(nextId); | 503 | Set<PendingNext> pnext = pendingForwards.get(nextId); |
504 | - StringBuffer pend = new StringBuffer(); | 504 | + StringBuilder pend = new StringBuilder(); |
505 | pend.append("Next Id: ").append(Integer.toString(nextId)) | 505 | pend.append("Next Id: ").append(Integer.toString(nextId)) |
506 | .append(" :: "); | 506 | .append(" :: "); |
507 | for (PendingNext pn : pnext) { | 507 | for (PendingNext pn : pnext) { | ... | ... |
-
Please register or login to post a comment