From 446058de46699818a4d8cb965259e0eabd0d9c0a Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Thu, 20 Sep 2018 16:38:03 +0100 Subject: [PATCH] =?utf8?q?JAL-3111=20don=E2=80=99t=20reuse=20old=20array=20t?= =?utf8?q?hat=20might=20have=20alignment=20db=20sources=20in=20it?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/jalview/ws/SequenceFetcher.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/jalview/ws/SequenceFetcher.java b/src/jalview/ws/SequenceFetcher.java index 29d4ec7..adaed60 100644 --- a/src/jalview/ws/SequenceFetcher.java +++ b/src/jalview/ws/SequenceFetcher.java @@ -96,6 +96,7 @@ public class SequenceFetcher extends ASequenceFetcher jalview.util.QuickSort.sort(tosort, sorted); // construct array with all sources listed int i = 0; + srcs = new String[tosort.length]; for (int j = sorted.length - 1; j >= 0; j--, i++) { srcs[i] = sorted[j]; -- 1.7.10.2