From c1e70ea0a01d2c916675aa8020970c6696d0dba5 Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Wed, 24 Jan 2007 17:29:38 +0000 Subject: [PATCH] This constructor is never called --- src/jalview/commands/EditCommand.java | 23 ++++++----------------- 1 file changed, 6 insertions(+), 17 deletions(-) diff --git a/src/jalview/commands/EditCommand.java b/src/jalview/commands/EditCommand.java index be11d44..c1b4daf 100644 --- a/src/jalview/commands/EditCommand.java +++ b/src/jalview/commands/EditCommand.java @@ -54,23 +54,6 @@ public class EditCommand implements CommandI this.description = description; } - public EditCommand(String description, - int command, - SequenceI[] seqs, - int position, - int number, - char gapChar) - { - this.description = description; - - if (command==INSERT_GAP || command==DELETE_GAP) - { - edits = new Edit[] { new Edit(command, seqs, position, number, gapChar)}; - } - - performEdit(0); - } - public EditCommand( String description, int command, SequenceI[] seqs, @@ -217,6 +200,8 @@ public class EditCommand implements CommandI { command.al.deleteSequence(command.seqs[i]); } + + } } @@ -255,6 +240,9 @@ public class EditCommand implements CommandI command.string[i] = null; } command.seqs[i].setSequence(tmp.toString()); + + + } command.string = null; @@ -296,6 +284,7 @@ public class EditCommand implements CommandI this.position = position; this.number = number; this.al = al; + alIndex = new int[seqs.length]; for(int i=0; i