X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fcommands%2FRemoveGapColCommand.java;h=3266874685ec52d5048758b7e11317283a9e3de0;hb=51e084651cb62b4d7597b2b448c8529d3ab60cca;hp=ac93d4eb8d77be9ff2b4201137dc8c54744cddb9;hpb=5f090b7d1cb8836903474f8f4d5e475be142d30c;p=jalview.git diff --git a/src/jalview/commands/RemoveGapColCommand.java b/src/jalview/commands/RemoveGapColCommand.java index ac93d4e..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.2) - * 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); }