JAL-1551 spotlessApply
[jalview.git] / src / jalview / datamodel / Alignment.java
index 89ec5ad..514a326 100755 (executable)
@@ -2050,14 +2050,14 @@ public class Alignment implements AlignmentI, AutoCloseable
   public ContactMatrixI getContactMatrixFor(AlignmentAnnotation _aa)
   {
     ContactMatrixI cm = cmholder.getContactMatrixFor(_aa);
-    if (cm==null && _aa.groupRef!=null)
+    if (cm == null && _aa.groupRef != null)
     {
       cm = _aa.groupRef.getContactMatrixFor(_aa);
     }
-    if (cm==null && _aa.sequenceRef!=null)
+    if (cm == null && _aa.sequenceRef != null)
     {
       cm = _aa.sequenceRef.getContactMatrixFor(_aa);
-      if (cm==null)
+      if (cm == null)
       {
         // TODO fix up this logic and unify with getContactListFor
         cm = _aa.sequenceRef.getDatasetSequence().getContactMatrixFor(_aa);
@@ -2087,7 +2087,7 @@ public class Alignment implements AlignmentI, AutoCloseable
                   && spos <= 1 + _aa.sequenceRef.getEnd())
           {
             cl = _aa.sequenceRef.getDatasetSequence().getContactListFor(_aa,
-                    spos-_aa.sequenceRef.getStart());
+                    spos - _aa.sequenceRef.getStart());
           }
         }
       }