JAL-4090 JAL-1551 spotlessApply
[jalview.git] / src / jalview / datamodel / ContactListImpl.java
index 7058ac7..7cd9dc9 100644 (file)
@@ -57,7 +57,7 @@ public class ContactListImpl implements ContactListI
     }
     if (to_column >= getContactHeight())
     {
-      to_column = getContactHeight()-1;
+      to_column = getContactHeight() - 1;
     }
     ContactRange cr = new ContactRange();
     cr.setFrom_column(from_column);
@@ -88,7 +88,7 @@ public class ContactListImpl implements ContactListI
         }
       }
     }
-    if (tot > 0 && to_column>from_column)
+    if (tot > 0 && to_column > from_column)
     {
       cr.setMean(tot / (1 + to_column - from_column));
     }