Merge branch 'develop' into features/JAL-2360colourSchemeApplicability
[jalview.git] / src / jalview / schemes / Blosum62ColourScheme.java
index 5eabc75..be77e00 100755 (executable)
@@ -20,7 +20,6 @@
  */
 package jalview.schemes;
 
-import jalview.datamodel.AlignmentAnnotation;
 import jalview.datamodel.AnnotatedCollectionI;
 import jalview.datamodel.SequenceCollectionI;
 import jalview.datamodel.SequenceI;
@@ -124,24 +123,9 @@ public class Blosum62ColourScheme extends ResidueColourScheme
     return JalviewColourScheme.Blosum62.toString();
   }
 
-  /**
-   * Answers true if Conservation annotation is present, else false
-   */
   @Override
-  public boolean isApplicableTo(AnnotatedCollectionI ac)
+  public boolean isSimple()
   {
-    AlignmentAnnotation[] anns = ac.getAlignmentAnnotation();
-    if (anns == null)
-    {
-      return false;
-    }
-    for (AlignmentAnnotation ann : anns)
-    {
-      if ("Conservation".equals(ann.label))
-      {
-        return true;
-      }
-    }
     return false;
   }
 }