From: Jim Procter Date: Tue, 24 Sep 2019 17:29:10 +0000 (+0100) Subject: JAL-3070 tidying X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=3714de3baf8f4ee3fc11e93a0fdc8bee96c1594f;p=jalview.git JAL-3070 tidying --- diff --git a/src/jalview/ws/jws2/SeqAnnotationServiceCalcWorker.java b/src/jalview/ws/jws2/SeqAnnotationServiceCalcWorker.java index 6ecc01f..7d22f25 100644 --- a/src/jalview/ws/jws2/SeqAnnotationServiceCalcWorker.java +++ b/src/jalview/ws/jws2/SeqAnnotationServiceCalcWorker.java @@ -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)