JAL-4414 JAL-1054 fix irrelevant failing network test for JAL-4418 2.11.4.0 release
authorJim Procter <jprocter@dundee.ac.uk>
Tue, 17 Sep 2024 19:34:33 +0000 (20:34 +0100)
committerJim Procter <jprocter@dundee.ac.uk>
Tue, 17 Sep 2024 19:35:24 +0000 (20:35 +0100)
src/jalview/ws/DBRefFetcher.java

index d108d4d..337cc12 100644 (file)
@@ -29,7 +29,6 @@ import java.util.HashMap;
 import java.util.Hashtable;
 import java.util.List;
 import java.util.Map;
-import java.util.StringTokenizer;
 import java.util.Vector;
 import java.util.regex.Matcher;
 import java.util.regex.Pattern;
@@ -76,7 +75,7 @@ public class DBRefFetcher implements Runnable
 
   IProgressIndicator progressWindow;
 
-  CutAndPasteTransfer output = new CutAndPasteTransfer();
+  CutAndPasteTransfer output;
 
   /**
    * picr client instance
@@ -471,6 +470,7 @@ public class DBRefFetcher implements Runnable
       {
         sb.append(msg).append(NEWLINE);
       }
+      output = new CutAndPasteTransfer();
       output.setText(sb.toString());
 
       Desktop.addInternalFrame(output,