From 2c11e91e2917eed2c65ff7c06ff2ab70a88c3914 Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Fri, 29 Apr 2016 10:39:48 +0100 Subject: [PATCH] JAL-1551 formatting --- src/jalview/datamodel/ColumnSelection.java | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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 }); } /** -- 1.7.10.2