Merge branch 'develop' into features/JAL-2446NCList
[jalview.git] / src / jalview / schemes / TCoffeeColourScheme.java
index 13d1d55..812dca7 100644 (file)
@@ -87,7 +87,8 @@ public class TCoffeeColourScheme extends ResidueColourScheme
     // Search alignment to get all tcoffee annotation and pick one set of
     // annotation to use to colour seqs.
     seqMap = new IdentityHashMap<SequenceI, Color[]>();
-    AnnotatedCollectionI alcontext = alignment instanceof AlignmentI ? alignment
+    AnnotatedCollectionI alcontext = alignment instanceof AlignmentI
+            ? alignment
             : alignment.getContext();
     if (alcontext == null)
     {
@@ -154,8 +155,8 @@ public class TCoffeeColourScheme extends ResidueColourScheme
   @Override
   public boolean isApplicableTo(AnnotatedCollectionI ac)
   {
-    AnnotatedCollectionI alcontext = ac instanceof AlignmentI ? ac : ac
-            .getContext();
+    AnnotatedCollectionI alcontext = ac instanceof AlignmentI ? ac
+            : ac.getContext();
     if (alcontext == null)
     {
       return false;