final public void appendEdit(int command, SequenceI[] seqs, int position,
int number, AlignmentI al, boolean performEdit, AlignmentI[] views)
{
- Edit edit = new Edit(command, seqs, position, number, al
- .getGapCharacter());
+ Edit edit = new Edit(command, seqs, position, number,
+ al.getGapCharacter());
if (al.getHeight() == seqs.length)
{
edit.al = al;
command.oldds = new SequenceI[command.seqs.length];
}
command.oldds[i] = oldds;
- adjustFeatures(command, i, command.seqs[i]
- .findPosition(command.position), command.seqs[i]
- .findPosition(command.position + command.number), false);
+ adjustFeatures(
+ command,
+ i,
+ command.seqs[i].findPosition(command.position),
+ command.seqs[i].findPosition(command.position
+ + command.number), false);
}
}
}
if (command.editedFeatures != null
&& command.editedFeatures.containsKey(seq))
{
- sequence
- .setSequenceFeatures((SequenceFeature[]) command.editedFeatures
- .get(seq));
+ sequence.setSequenceFeatures((SequenceFeature[]) command.editedFeatures
+ .get(seq));
}
return;