JAL-2629 some tidying of Hmmer commands (wip)
[jalview.git] / src / jalview / workers / InformationThread.java
index 5385359..09b428b 100644 (file)
@@ -197,7 +197,7 @@ public class InformationThread extends AlignCalcWorker
     int index = 0;
     for (AlignmentAnnotation information : annots)
     {
-      ProfilesI hinformation = (ProfilesI) getSequenceInformation(index);
+      ProfilesI hinformation = getSequenceInformation(index);
       if (immediate || !calcMan.isWorking(this) && information != null
               && hinformation != null)
       {
@@ -230,7 +230,7 @@ public class InformationThread extends AlignCalcWorker
    * 
    * @return
    */
-  protected Object getSequenceInformation(int index)
+  protected ProfilesI getSequenceInformation(int index)
   {
     return alignViewport.getSequenceInformationHash(index);
   }