From: gmungoc Date: Mon, 23 Mar 2015 14:37:29 +0000 (+0000) Subject: StringBuffer --> StringBuilder X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=7ade73f743b71349ba3fe9196ffecf1238f91efa;p=jalview.git StringBuffer --> StringBuilder --- diff --git a/src/jalview/appletgui/AlignViewport.java b/src/jalview/appletgui/AlignViewport.java index a216c29..2d38008 100644 --- a/src/jalview/appletgui/AlignViewport.java +++ b/src/jalview/appletgui/AlignViewport.java @@ -20,6 +20,8 @@ */ package jalview.appletgui; +import java.awt.Font; + import jalview.analysis.NJTree; import jalview.api.AlignViewportI; import jalview.bin.JalviewLite; @@ -37,8 +39,6 @@ import jalview.structure.StructureSelectionManager; import jalview.structure.VamsasSource; import jalview.viewmodel.AlignmentViewport; -import java.awt.Font; - public class AlignViewport extends AlignmentViewport implements AlignViewportI, SelectionSource, VamsasSource, CommandListener { @@ -238,7 +238,7 @@ public class AlignViewport extends AlignmentViewport implements { return null; } - StringBuffer seqs = new StringBuffer(); + StringBuilder seqs = new StringBuilder(consensus.annotations.length); for (int i = 0; i < consensus.annotations.length; i++) { if (consensus.annotations[i] != null)