X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fcommands%2FRemoveGapsCommand.java;h=c8dadfa8827903f51e605caa430d64a205a76286;hb=37de9310bec3501cbc6381e0c3dcb282fcaad812;hp=60d09f74a9f030e1d67ac6dc21935b6fe6bd4ef8;hpb=5f090b7d1cb8836903474f8f4d5e475be142d30c;p=jalview.git diff --git a/src/jalview/commands/RemoveGapsCommand.java b/src/jalview/commands/RemoveGapsCommand.java index 60d09f7..c8dadfa 100644 --- a/src/jalview/commands/RemoveGapsCommand.java +++ b/src/jalview/commands/RemoveGapsCommand.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. * @@ -109,9 +109,9 @@ public class RemoveGapsCommand extends EditCommand if (!delete && startCol > -1) { - this.appendEdit(Action.DELETE_GAP, new SequenceI[] - { seqs[s] }, start + startCol - deletedCols, endCol - startCol, - al, false, null); + this.appendEdit(Action.DELETE_GAP, new SequenceI[] { seqs[s] }, + start + startCol - deletedCols, endCol - startCol, al, + false, null); deletedCols += (endCol - startCol); startCol = -1; @@ -120,8 +120,8 @@ public class RemoveGapsCommand extends EditCommand } if (delete && startCol > -1) { - this.appendEdit(Action.DELETE_GAP, new SequenceI[] - { seqs[s] }, start + startCol - deletedCols, jSize - startCol, al, + this.appendEdit(Action.DELETE_GAP, new SequenceI[] { seqs[s] }, + start + startCol - deletedCols, jSize - startCol, al, false, null); }