// 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)
{
@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;