JAL-4199 remove viewport references from AlignmentTask
authorMateusz Warowny <mmzwarowny@dundee.ac.uk>
Wed, 12 Jul 2023 12:47:22 +0000 (14:47 +0200)
committerMateusz Warowny <mmzwarowny@dundee.ac.uk>
Wed, 12 Jul 2023 14:25:05 +0000 (16:25 +0200)
src/jalview/ws2/actions/alignment/AlignmentTask.java

index 0ac84ee..944e5dd 100644 (file)
@@ -45,8 +45,6 @@ class AlignmentTask extends BaseTask<AlignmentJob, AlignmentResult>
 
   private final AlignmentView msa; // a.k.a. input
 
-  private final AlignViewportI viewport;
-
   private final boolean submitGaps;
 
   private final AlignmentI currentView;
@@ -65,7 +63,6 @@ class AlignmentTask extends BaseTask<AlignmentJob, AlignmentResult>
     this.client = client;
     this.action = action;
     this.msa = viewport.getAlignmentView(true);
-    this.viewport = viewport;
     this.submitGaps = submitGaps;
     this.currentView = viewport.getAlignment();
     this.dataset = viewport.getAlignment().getDataset();