X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fcommands%2FRemoveGapsCommand.java;h=8513e0d84daca81b1fc1a6889c8f54fb71bc09c1;hb=838e4f91d4a53dd315640dbc9ff6ef7a815ee576;hp=e49d42b91394a86d7e581996d2f4c4c368a6c97a;hpb=ab43013b7e357b84b4abade0dba949668dfb2a0e;p=jalview.git diff --git a/src/jalview/commands/RemoveGapsCommand.java b/src/jalview/commands/RemoveGapsCommand.java index e49d42b..8513e0d 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.2b1) - * Copyright (C) 2014 The Jalview Authors + * Jalview - A Sequence Alignment Editor and Viewer (Version 2.9.0b1) + * Copyright (C) 2015 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); }