Merge branch 'Release_2_9_0b1_Branch'
[jalview.git] / src / jalview / commands / RemoveGapColCommand.java
index ac93d4e..1f068e4 100644 (file)
@@ -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 2.9.0b1)
+ * Copyright (C) 2015 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);
     }