JAL-2830 failing test added for Replace
[jalview.git] / src / jalview / commands / EditCommand.java
index f71fb79..06f59cb 100644 (file)
@@ -806,9 +806,9 @@ public class EditCommand implements CommandI
         {
           // first edit the original dataset sequence string
           SequenceI oldds = command.seqs[i].getDatasetSequence();
-          String fullseq, osp = oldds.getSequenceAsString();
+          String osp = oldds.getSequenceAsString();
 
-          fullseq = osp.substring(0, ipos) + nogaprep
+          String fullseq = osp.substring(0, ipos) + nogaprep
                   + osp.substring(ipos + nogaprep.length());
 
           // and check if new sequence data is different..