From 3714de3baf8f4ee3fc11e93a0fdc8bee96c1594f Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Tue, 24 Sep 2019 18:29:10 +0100 Subject: [PATCH] JAL-3070 tidying --- src/jalview/ws/jws2/SeqAnnotationServiceCalcWorker.java | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) 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) -- 1.7.10.2