JAL-4090 JAL-1551 spotlessApply
[jalview.git] / src / jalview / datamodel / Alignment.java
index 375e6b4..73ccdc5 100755 (executable)
@@ -2057,7 +2057,7 @@ public class Alignment implements AlignmentI, AutoCloseable
     if (cm == null && _aa.sequenceRef != null)
     {
       cm = _aa.sequenceRef.getContactMatrixFor(_aa);
-      if (cm == null && _aa.sequenceRef.getDatasetSequence()!=null)
+      if (cm == null && _aa.sequenceRef.getDatasetSequence() != null)
       {
         // TODO fix up this logic and unify with getContactListFor
         cm = _aa.sequenceRef.getDatasetSequence().getContactMatrixFor(_aa);
@@ -2069,7 +2069,8 @@ public class Alignment implements AlignmentI, AutoCloseable
   @Override
   public ContactListI getContactListFor(AlignmentAnnotation _aa, int column)
   {
-    if (_aa.annotations==null || column>=_aa.annotations.length || column<0)
+    if (_aa.annotations == null || column >= _aa.annotations.length
+            || column < 0)
     {
       return null;
     }