{
// TODO Auto-generated method stub
super.alignmentChanged(alignment, hiddenReps);
-
+
if (seqAssociated && annotation.getCalcId() != null)
{
- if (seqannot!=null) {
+ if (seqannot != null)
+ {
seqannot.clear();
- } else {
- seqannot=new IdentityHashMap<SequenceI, AlignmentAnnotation>();
+ }
+ else
+ {
+ seqannot = new IdentityHashMap<SequenceI, AlignmentAnnotation>();
}
for (AlignmentAnnotation alan : alignment.findAnnotation(annotation
.getCalcId()))
public Color findColour(char c, int j, SequenceI seq)
{
Color currentColour = Color.white;
- AlignmentAnnotation annotation=(seqAssociated ? seqannot.get(seq):this.annotation);
- if (annotation==null)
+ AlignmentAnnotation annotation = (seqAssociated ? seqannot.get(seq)
+ : this.annotation);
+ if (annotation == null)
{
return currentColour;
}