From: Jim Procter Date: Thu, 20 Sep 2018 15:38:03 +0000 (+0100) Subject: JAL-3111 don’t reuse old array that might have alignment db sources in it X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=446058de46699818a4d8cb965259e0eabd0d9c0a;p=jalview.git JAL-3111 don’t reuse old array that might have alignment db sources in it --- 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];