JAL-2629 tidy unit tests, constants etc
[jalview.git] / src / jalview / gui / AnnotationLabels.java
index 067acd7..3112fe1 100755 (executable)
@@ -33,6 +33,7 @@ import jalview.io.FormatAdapter;
 import jalview.util.Comparison;
 import jalview.util.MessageManager;
 import jalview.util.Platform;
+import jalview.workers.InformationThread;
 
 import java.awt.Color;
 import java.awt.Cursor;
@@ -444,7 +445,8 @@ public class AnnotationLabels extends JPanel
     {
       final String label = aa[selectedRow].label;
       if (!(aa[selectedRow].autoCalculated)
-              && !("HMM".equals(aa[selectedRow].getCalcId())))
+              && !(InformationThread.HMM_CALC_ID
+                      .equals(aa[selectedRow].getCalcId())))
       {
         if (aa[selectedRow].graph == AlignmentAnnotation.NO_GRAPH)
         {
@@ -625,9 +627,8 @@ public class AnnotationLabels extends JPanel
         consclipbrd.addActionListener(this);
         pop.add(consclipbrd);
       }
-      else if ("HMM".equals(aa[selectedRow].getCalcId())) // TODO create labels
-                                                          // in message resource
-                                                          // for these
+      else if (InformationThread.HMM_CALC_ID
+              .equals(aa[selectedRow].getCalcId()))
       {
         pop.addSeparator();
         final AlignmentAnnotation aaa = aa[selectedRow];