JAL-2371 CollectionColourScheme wraps ColourSchemeI
[jalview.git] / src / jalview / renderer / AnnotationRenderer.java
index a0e530c..e30fb0c 100644 (file)
@@ -315,7 +315,7 @@ public class AnnotationRenderer
     profcolour = av.getGlobalColourScheme();
     if (profcolour == null)
     {
-      // Set the default colour for sequence logo if the alignnent has no
+      // Set the default colour for sequence logo if the alignment has no
       // colourscheme set
       profcolour = av.getAlignment().isNucleotide() ? new jalview.schemes.NucleotideColourScheme()
               : new jalview.schemes.ZappoColourScheme();
@@ -1423,12 +1423,11 @@ hconsensus.get(column),
             {
               final String codonTranslation = ResidueProperties
                       .codonTranslate(new String(dc));
-              colour = profcolour.findColour(codonTranslation.charAt(0),
-                      column, null);
+              colour = profcolour.findColour(codonTranslation.charAt(0));
             }
             else
             {
-              colour = profcolour.findColour(dc[0], column, null);
+              colour = profcolour.findColour(dc[0]);
             }
             g.setColor(colour == Color.white ? Color.lightGray : colour);