newhidden.add(new int[] { left, right });
// make a string with number of gaps = length of hidden region
- StringBuffer sb = new StringBuffer();
+ StringBuilder sb = new StringBuilder();
for (int s = 0; s < right - left + 1; s++)
{
sb.append(gc);
* @param al
* alignment to pad sequences in
*/
- private void padGaps(StringBuffer sb, int pos, SequenceI profileseq,
+ private void padGaps(StringBuilder sb, int pos, SequenceI profileseq,
AlignmentI al)
{
// loop over the sequences and pad with gaps where required
{
for (int i = 0; i < iSize; i++)
{
- StringBuffer visibleSeq = new StringBuffer();
+ StringBuilder visibleSeq = new StringBuilder();
Iterator<int[]> blocks = new VisibleContigsIterator(start,
end + 1, hiddenColumns);