JAL-3070 tidying
authorJim Procter <jprocter@issues.jalview.org>
Tue, 24 Sep 2019 17:29:10 +0000 (18:29 +0100)
committerJim Procter <jprocter@issues.jalview.org>
Tue, 24 Sep 2019 17:29:10 +0000 (18:29 +0100)
src/jalview/ws/jws2/SeqAnnotationServiceCalcWorker.java

index 6ecc01f..7d22f25 100644 (file)
@@ -247,8 +247,6 @@ public class SeqAnnotationServiceCalcWorker extends AlignCalcWorker
         return;
       }
 
-      AlignmentAnnotation[] aa = alignViewport.getAlignment()
-              .getAlignmentAnnotation();
       if (guiProgress != null)
       {
         guiProgress.setProgressBar(service.getActionText(),
@@ -298,7 +296,6 @@ public class SeqAnnotationServiceCalcWorker extends AlignCalcWorker
       // and poll for updates until job finishes, fails or becomes stale
       
       boolean finished = false;
-      long rpos = 0;
       do
       {
         Cache.log.debug("Updating status for annotation service.");
@@ -326,11 +323,11 @@ public class SeqAnnotationServiceCalcWorker extends AlignCalcWorker
               if (cancellable
                         && ((CancellableI) annotService).cancel(running))
               {
-                System.err.println("Cancelled AACon job: " + rslt);
+                System.err.println("Cancelled job: " + rslt);
               }
               else
               {
-                System.err.println("FAILED TO CANCEL AACon job: " + rslt);
+                System.err.println("FAILED TO CANCEL job: " + rslt);
               }
   
             } catch (Exception x)