From: Mateusz Warowny Date: Fri, 7 Jul 2023 08:53:48 +0000 (+0200) Subject: JAL-4199 Remove commented out code X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=95649cfda7b317c28f0f169bf4b7218d83f90852;p=jalview.git JAL-4199 Remove commented out code --- diff --git a/src/jalview/ws2/actions/annotation/AnnotationTask.java b/src/jalview/ws2/actions/annotation/AnnotationTask.java index a448b3c..e2a05a0 100644 --- a/src/jalview/ws2/actions/annotation/AnnotationTask.java +++ b/src/jalview/ws2/actions/annotation/AnnotationTask.java @@ -67,32 +67,6 @@ public class AnnotationTask extends BaseTask this.viewport = viewport; } - // public void start(AlignCalcManagerI2 calcManager) - // { - // if (this.worker != null) - // throw new IllegalStateException("task already started"); - // this.worker = new AlignCalcWorkerAdapter(calcManager); - // if (taskStatus != JobStatus.CANCELLED) - // { - // List oldWorkers = calcManager.getWorkersOfClass( - // AlignCalcWorkerAdapter.class); - // for (var worker : oldWorkers) - // { - // if (action.getWebService().getName().equalsIgnoreCase( - // ((AlignCalcWorkerAdapter) worker).getServiceName())) - // { - // // remove interactive workers for the same service. - // calcManager.removeWorker(worker); - // calcManager.cancelWorker(worker); - // } - // } - // if (action.getWebService().isInteractive()) - // calcManager.registerWorker(worker); - // else - // calcManager.startWorker(worker); - // } - // } - /** * Create and return a list of annotation jobs from the current state of the * viewport. Returned job are not started by this method and should be stored