JAL-1551 spotlessApply
[jalview.git] / src / jalview / datamodel / ColumnSelection.java
index db83e76..3c2d166 100644 (file)
@@ -567,7 +567,7 @@ public class ColumnSelection
     // viewmodel package
     this.clear();
 
-    if (ann_row.graph == AlignmentAnnotation.CUSTOMRENDERER && (filterParams
+    if (ann_row.graph == AlignmentAnnotation.CONTACT_MAP && (filterParams
             .getThresholdType() == AnnotationFilterParameter.ThresholdType.ABOVE_THRESHOLD
             || filterParams
                     .getThresholdType() == AnnotationFilterParameter.ThresholdType.BELOW_THRESHOLD))
@@ -586,8 +586,8 @@ public class ColumnSelection
           int cpos = ann_row.sequenceRef.findPosition(column) - 1;
           ContactListI clist = ann_row.sequenceRef
                   .getContactListFor(ann_row, cpos);
-          for (int row = column + 8,
-                  rowEnd = clist.getContactHeight(); row < rowEnd; row++)
+          for (int row = column + 8, rowEnd = clist
+                  .getContactHeight(); row < rowEnd; row++)
           {
             if (filterParams
                     .getThresholdType() == AnnotationFilterParameter.ThresholdType.ABOVE_THRESHOLD