From: Jim Procter Date: Fri, 29 Apr 2016 09:39:48 +0000 (+0100) Subject: JAL-1551 formatting X-Git-Tag: Release_2_10_0~235^2~1^2^2~6 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=2c11e91e2917eed2c65ff7c06ff2ab70a88c3914;p=jalview.git JAL-1551 formatting --- diff --git a/src/jalview/datamodel/ColumnSelection.java b/src/jalview/datamodel/ColumnSelection.java index c23b772..e28a6b4 100644 --- a/src/jalview/datamodel/ColumnSelection.java +++ b/src/jalview/datamodel/ColumnSelection.java @@ -207,6 +207,7 @@ public class ColumnSelection } IntList selected = new IntList(); + /* * list of hidden column [start, end] ranges; the list is maintained in * ascending start column order @@ -741,8 +742,9 @@ public class ColumnSelection public void hideSelectedColumns() { - synchronized (selected) { - for (int[] selregions:selected.getRanges()) + synchronized (selected) + { + for (int[] selregions : selected.getRanges()) { hideColumns(selregions[0], selregions[1]); } @@ -806,7 +808,7 @@ public class ColumnSelection /* * remaining case is that the new range follows everything else */ - hiddenColumns.addElement(new int[] { start, end }); + hiddenColumns.addElement(new int[] { start, end }); } /**