X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fcommands%2FRemoveGapColCommand.java;h=3266874685ec52d5048758b7e11317283a9e3de0;hb=8872ca6bcf761214bb3b4f428adec48bba95d80e;hp=28d419ea796b561a5449238ece1463f0477822d7;hpb=ab43013b7e357b84b4abade0dba949668dfb2a0e;p=jalview.git diff --git a/src/jalview/commands/RemoveGapColCommand.java b/src/jalview/commands/RemoveGapColCommand.java index 28d419e..3266874 100644 --- a/src/jalview/commands/RemoveGapColCommand.java +++ b/src/jalview/commands/RemoveGapColCommand.java @@ -1,6 +1,6 @@ /* - * Jalview - A Sequence Alignment Editor and Viewer (Version 2.8.2b1) - * Copyright (C) 2014 The Jalview Authors + * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$) + * Copyright (C) $$Year-Rel$$ The Jalview Authors * * This file is part of Jalview. * @@ -88,8 +88,7 @@ public class RemoveGapColCommand extends EditCommand if (!delete && startCol > -1) { this.appendEdit(Action.DELETE_GAP, seqs, startCol - columnsDeleted, - endCol - - startCol, al, false, null); + endCol - startCol, al, false, null); columnsDeleted += (endCol - startCol); startCol = -1; @@ -103,8 +102,7 @@ public class RemoveGapColCommand extends EditCommand // end of the alignment this.appendEdit(Action.DELETE_GAP, seqs, startCol - columnsDeleted, - end - - startCol + 1, al, false, null); + end - startCol + 1, al, false, null); columnsDeleted += (end - startCol + 1); }