From e769adc14fe9368f36a8889982bb1d6fdc87df06 Mon Sep 17 00:00:00 2001 From: Mateusz Warowny Date: Thu, 23 Dec 2021 17:48:10 +0100 Subject: [PATCH] JAL-3878 Use AlignViewport interface instead of concrete implementation in AlignmentWorker --- src/jalview/ws2/operations/AlignmentWorker.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/jalview/ws2/operations/AlignmentWorker.java b/src/jalview/ws2/operations/AlignmentWorker.java index 79ef527..191574b 100644 --- a/src/jalview/ws2/operations/AlignmentWorker.java +++ b/src/jalview/ws2/operations/AlignmentWorker.java @@ -14,6 +14,7 @@ import jalview.analysis.AlignSeq; import jalview.analysis.AlignmentSorter; import jalview.analysis.SeqsetUtils; import jalview.analysis.SeqsetUtils.SequenceInfo; +import jalview.api.AlignViewportI; import jalview.bin.Cache; import jalview.datamodel.AlignedCodonFrame; import jalview.datamodel.Alignment; @@ -39,7 +40,7 @@ public class AlignmentWorker extends AbstractPollableWorker private AlignmentI dataset; - private AlignViewport viewport; + private AlignViewportI viewport; private List codonFrame = new ArrayList<>(); @@ -133,7 +134,7 @@ public class AlignmentWorker extends AbstractPollableWorker public AlignmentWorker(AlignmentOperation operation, AlignmentView msa, List args, - boolean submitGaps, boolean preserveOrder, AlignViewport viewport) + boolean submitGaps, boolean preserveOrder, AlignViewportI viewport) { this.operation = operation; this.msa = msa; -- 1.7.10.2