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