From ef1098f7fd5f8fd9aec7b40a061156ccec94b6ab Mon Sep 17 00:00:00 2001 From: kjvdheide Date: Wed, 10 Jan 2018 17:01:58 +0000 Subject: [PATCH] JAL-1953 named various threads --- src/jalview/appletgui/OverviewPanel.java | 2 +- src/jalview/appletgui/PCAPanel.java | 6 +++--- src/jalview/appletgui/RedundancyPanel.java | 2 +- src/jalview/bin/Jalview.java | 2 +- .../ext/rbvi/chimera/JalviewChimeraBinding.java | 2 +- src/jalview/fts/core/GFTSPanel.java | 2 +- src/jalview/fts/service/pdb/PDBFTSPanel.java | 2 +- src/jalview/gui/AlignFrame.java | 8 ++++---- src/jalview/gui/AppJmol.java | 2 +- src/jalview/gui/ChimeraViewFrame.java | 2 +- src/jalview/gui/Console.java | 8 ++++---- src/jalview/gui/DasSourceBrowser.java | 4 ++-- src/jalview/gui/Desktop.java | 20 ++++++++++---------- src/jalview/gui/JalviewDialog.java | 2 +- src/jalview/gui/OverviewPanel.java | 2 +- src/jalview/gui/PopupMenu.java | 4 ++-- src/jalview/gui/RedundancyPanel.java | 2 +- src/jalview/gui/SplashScreen.java | 2 +- src/jalview/gui/StructureViewerBase.java | 4 ++-- src/jalview/gui/TreeCanvas.java | 2 +- src/jalview/gui/VamsasApplication.java | 2 +- src/jalview/gui/WebserviceInfo.java | 2 +- src/jalview/gui/WsPreferences.java | 8 ++++---- src/jalview/io/BioJsHTMLOutput.java | 2 +- src/jalview/io/FileLoader.java | 4 ++-- src/jalview/io/HtmlSvgOutput.java | 2 +- src/jalview/javascript/JSFunctionExec.java | 2 +- src/jalview/util/AWTConsole.java | 6 +++--- src/jalview/ws/DBRefFetcher.java | 2 +- src/jalview/ws/DasSequenceFeatureFetcher.java | 4 ++-- src/jalview/ws/jws2/Jws2Discoverer.java | 4 ++-- 31 files changed, 59 insertions(+), 59 deletions(-) diff --git a/src/jalview/appletgui/OverviewPanel.java b/src/jalview/appletgui/OverviewPanel.java index 1855c3d..7f9f670 100755 --- a/src/jalview/appletgui/OverviewPanel.java +++ b/src/jalview/appletgui/OverviewPanel.java @@ -235,7 +235,7 @@ public class OverviewPanel extends Panel implements Runnable, updateRunning = true; } - Thread thread = new Thread(this, "OverviewUpdateThread"); + Thread thread = new Thread(this, "OverviewUpdate"); thread.start(); repaint(); updateRunning = false; diff --git a/src/jalview/appletgui/PCAPanel.java b/src/jalview/appletgui/PCAPanel.java index ea6eda6..6c0ed73 100644 --- a/src/jalview/appletgui/PCAPanel.java +++ b/src/jalview/appletgui/PCAPanel.java @@ -117,7 +117,7 @@ public class PCAPanel extends EmbmenuFrame MessageManager.getString("label.principal_component_analysis"), 475, 400); - Thread worker = new Thread(this, "PCACalcThread"); + Thread worker = new Thread(this, "PCACalc"); worker.start(); } @@ -220,7 +220,7 @@ public class PCAPanel extends EmbmenuFrame ScoreModelI scoreModel = ScoreModels.getInstance() .getDefaultModel(false); pcaModel.setScoreModel(scoreModel); - new Thread(this, "PCARecalcThread").start(); + new Thread(this, "PCARecalc").start(); } } else if (evt.getSource() == protSetting) @@ -231,7 +231,7 @@ public class PCAPanel extends EmbmenuFrame ScoreModelI scoreModel = ScoreModels.getInstance() .getDefaultModel(true); pcaModel.setScoreModel(scoreModel); - new Thread(this, "PCARecalcThread").start(); + new Thread(this, "PCARecalc").start(); } } } diff --git a/src/jalview/appletgui/RedundancyPanel.java b/src/jalview/appletgui/RedundancyPanel.java index c7d8157..41bba33 100644 --- a/src/jalview/appletgui/RedundancyPanel.java +++ b/src/jalview/appletgui/RedundancyPanel.java @@ -89,7 +89,7 @@ public class RedundancyPanel extends SliderPanel frame.addWindowListener(this); - Thread worker = new Thread(this, "RedundancyCalcThread"); + Thread worker = new Thread(this, "RedundancyCalc"); worker.start(); } diff --git a/src/jalview/bin/Jalview.java b/src/jalview/bin/Jalview.java index 245a63c..80b03ce 100755 --- a/src/jalview/bin/Jalview.java +++ b/src/jalview/bin/Jalview.java @@ -155,7 +155,7 @@ public class Jalview running--; } } - }, "FeatureFetcherThread").start(); + }, "FeatureFetcher").start(); } public synchronized boolean allFinished() diff --git a/src/jalview/ext/rbvi/chimera/JalviewChimeraBinding.java b/src/jalview/ext/rbvi/chimera/JalviewChimeraBinding.java index 82cba86..fd772ef 100644 --- a/src/jalview/ext/rbvi/chimera/JalviewChimeraBinding.java +++ b/src/jalview/ext/rbvi/chimera/JalviewChimeraBinding.java @@ -226,7 +226,7 @@ public abstract class JalviewChimeraBinding extends AAStructureBindingModel // exit thread if Chimera Viewer is closed in Jalview } } - }, "ChimeraMonitorThread"); + }, "ChimeraMonitor"); chimeraMonitor.start(); } diff --git a/src/jalview/fts/core/GFTSPanel.java b/src/jalview/fts/core/GFTSPanel.java index da65ddf..fbeeee8 100644 --- a/src/jalview/fts/core/GFTSPanel.java +++ b/src/jalview/fts/core/GFTSPanel.java @@ -900,7 +900,7 @@ public abstract class GFTSPanel extends JPanel implements GFTSPanelI public void transferToSequenceFetcher(String ids) { seqFetcher.getTextArea().setText(ids); - Thread worker = new Thread(seqFetcher, "GFTSSeqFetcherThread"); + Thread worker = new Thread(seqFetcher, "GFTSSeqFetcher"); worker.start(); } diff --git a/src/jalview/fts/service/pdb/PDBFTSPanel.java b/src/jalview/fts/service/pdb/PDBFTSPanel.java index f25b98b..adb910b 100644 --- a/src/jalview/fts/service/pdb/PDBFTSPanel.java +++ b/src/jalview/fts/service/pdb/PDBFTSPanel.java @@ -222,7 +222,7 @@ public class PDBFTSPanel extends GFTSPanel String ids = selectedIds.toString(); // System.out.println(">>>>>>>>>>>>>>>> selected Ids: " + ids); seqFetcher.getTextArea().setText(ids); - Thread worker = new Thread(seqFetcher, "PDBFTSSeqFetcherThread"); + Thread worker = new Thread(seqFetcher, "PDBFTSSeqFetcher"); worker.start(); delayAndEnableActionButtons(); } diff --git a/src/jalview/gui/AlignFrame.java b/src/jalview/gui/AlignFrame.java index 0ebf8e8..7029289 100644 --- a/src/jalview/gui/AlignFrame.java +++ b/src/jalview/gui/AlignFrame.java @@ -4374,7 +4374,7 @@ public class AlignFrame extends GAlignFrame implements DropTargetListener, } buildingMenu = false; } - }, "BuildWebServiceThread").start(); + }, "BuildWebService").start(); } @@ -4483,7 +4483,7 @@ public class AlignFrame extends GAlignFrame implements DropTargetListener, final String source) { new Thread(CrossRefAction.showProductsFor(sel, _odna, source, this), - "CrossReferencesThread") + "CrossReferences") .start(); } @@ -4762,7 +4762,7 @@ public class AlignFrame extends GAlignFrame implements DropTargetListener, ex.printStackTrace(); } } - }, "DropFileThread").start(); + }, "DropFile").start(); } } @@ -5133,7 +5133,7 @@ public class AlignFrame extends GAlignFrame implements DropTargetListener, }); dbRefFetcher.fetchDBRefs(false); } - }, "BuildFetchDBMenuThread").start(); + }, "BuildFetchDBMenu").start(); } diff --git a/src/jalview/gui/AppJmol.java b/src/jalview/gui/AppJmol.java index d5eb2ae..3dd9571 100644 --- a/src/jalview/gui/AppJmol.java +++ b/src/jalview/gui/AppJmol.java @@ -218,7 +218,7 @@ public class AppJmol extends StructureViewerBase setSize(400, 400); // probably should be a configurable/dynamic default here initMenus(); addingStructures = false; - worker = new Thread(this, "OpenJmolThread"); + worker = new Thread(this, "OpenJmol"); worker.start(); this.addInternalFrameListener(new InternalFrameAdapter() diff --git a/src/jalview/gui/ChimeraViewFrame.java b/src/jalview/gui/ChimeraViewFrame.java index 48565eb..4b45459 100644 --- a/src/jalview/gui/ChimeraViewFrame.java +++ b/src/jalview/gui/ChimeraViewFrame.java @@ -272,7 +272,7 @@ public class ChimeraViewFrame extends StructureViewerBase initMenus(); addingStructures = false; - worker = new Thread(this, "OpenChimeraThread"); + worker = new Thread(this, "OpenChimera"); worker.start(); this.addInternalFrameListener(new InternalFrameAdapter() diff --git a/src/jalview/gui/Console.java b/src/jalview/gui/Console.java index 5fee61f..9d847a8 100644 --- a/src/jalview/gui/Console.java +++ b/src/jalview/gui/Console.java @@ -138,15 +138,15 @@ public class Console extends WindowAdapter // Starting two seperate threads to read from the PipedInputStreams // - reader = new Thread(this, "ConsoleReader1Thread"); + reader = new Thread(this, "ConsoleReader1"); reader.setDaemon(true); reader.start(); // - reader2 = new Thread(this, "ConsoleReader2Thread"); + reader2 = new Thread(this, "ConsoleReader2"); reader2.setDaemon(true); reader2.start(); // and a thread to append text to the textarea - textAppender = new Thread(this, "ConsoleTextAppendThread"); + textAppender = new Thread(this, "ConsoleTextAppend"); textAppender.setDaemon(true); textAppender.start(); } @@ -255,7 +255,7 @@ public class Console extends WindowAdapter // We do it with a seperate Thread becasue we don't wan't to break a Thread // used by the Console. System.out.println("\nLets throw an error on this console"); - errorThrower = new Thread(this, "ConsoleErrorLogThread"); + errorThrower = new Thread(this, "ConsoleErrorLog"); errorThrower.setDaemon(true); errorThrower.start(); } diff --git a/src/jalview/gui/DasSourceBrowser.java b/src/jalview/gui/DasSourceBrowser.java index a1b67e7..53204d4 100644 --- a/src/jalview/gui/DasSourceBrowser.java +++ b/src/jalview/gui/DasSourceBrowser.java @@ -124,7 +124,7 @@ public class DasSourceBrowser extends GDasSourceBrowser { if (sourceRegistry == null) { - Thread worker = new Thread(this, "PaintDasThread"); + Thread worker = new Thread(this, "PaintDas"); worker.start(); } } @@ -368,7 +368,7 @@ public class DasSourceBrowser extends GDasSourceBrowser { saveProperties(jalview.bin.Cache.applicationProperties); - Thread worker = new Thread(this, "RepaintDasThread"); + Thread worker = new Thread(this, "RepaintDas"); worker.start(); } diff --git a/src/jalview/gui/Desktop.java b/src/jalview/gui/Desktop.java index 75ea88f..6eea78d 100644 --- a/src/jalview/gui/Desktop.java +++ b/src/jalview/gui/Desktop.java @@ -456,7 +456,7 @@ public class Desktop extends jalview.jbgui.GDesktop fileFormat); Cache.log.debug("Filechooser init thread finished."); } - }, "InitFileChooserThread").start(); + }, "InitFileChooser").start(); // Add the service change listener changeSupport.addJalviewPropertyChangeListener("services", new PropertyChangeListener() @@ -575,7 +575,7 @@ public class Desktop extends jalview.jbgui.GDesktop Desktop.instance.setProgressBar(null, now); jvnews.showNews(); } - }, "ShowNewsWindowThread").start(); + }, "ShowNewsWindow").start(); } } } @@ -1272,7 +1272,7 @@ public class Desktop extends jalview.jbgui.GDesktop { new SplashScreen(true); } - }, "ShowAboutMenuThread").start(); + }, "ShowAboutMenu").start(); } public StringBuffer getAboutMessage(boolean shortv) @@ -1614,7 +1614,7 @@ public class Desktop extends jalview.jbgui.GDesktop } setProgressBar(null, choice.hashCode()); } - }, "SaveJalviewProjectThread").start(); + }, "SaveJalviewProject").start(); } } @@ -1682,7 +1682,7 @@ public class Desktop extends jalview.jbgui.GDesktop } setProgressBar(null, choice.hashCode()); } - }, "LoadJalviewProjectThread").start(); + }, "LoadJalviewProject").start(); } } @@ -2192,7 +2192,7 @@ public class Desktop extends jalview.jbgui.GDesktop dsktp.v_client.initial_update(); } - }, "VamsasSessionThread"); + }, "VamsasSession"); rthr.start(); } }; @@ -2312,7 +2312,7 @@ public class Desktop extends jalview.jbgui.GDesktop { UserQuestionnaireCheck jvq = new UserQuestionnaireCheck(url); // javax.swing.SwingUtilities.invokeLater(jvq); - new Thread(jvq, "CheckQuestionnaireThread").start(); + new Thread(jvq, "CheckQuestionnaire").start(); } public void checkURLLinks() @@ -2425,7 +2425,7 @@ public class Desktop extends jalview.jbgui.GDesktop this.showMemoryUsage = showMemory; if (showMemory) { - Thread worker = new Thread(this, "ShowMemoryUsageThread"); + Thread worker = new Thread(this, "ShowMemoryUsage"); worker.start(); } repaint(); @@ -2850,7 +2850,7 @@ public class Desktop extends jalview.jbgui.GDesktop } // JAL-940 - disabled JWS1 service configuration - always start discoverer // until we phase out completely - (t0 = new Thread(discoverer, "DiscovererThread")).start(); + (t0 = new Thread(discoverer, "Discoverer")).start(); } if (Cache.getDefault("SHOW_JWS2_SERVICES", true)) @@ -3006,7 +3006,7 @@ public class Desktop extends jalview.jbgui.GDesktop progress.setProgressBar(null, this.hashCode()); } } - }, "OpenURLThread").start(); + }, "OpenURL").start(); } public static WsParamSetManager wsparamManager = null; diff --git a/src/jalview/gui/JalviewDialog.java b/src/jalview/gui/JalviewDialog.java index a6f2d2a..ccbe1ee 100644 --- a/src/jalview/gui/JalviewDialog.java +++ b/src/jalview/gui/JalviewDialog.java @@ -66,7 +66,7 @@ public abstract class JalviewDialog extends JPanel frame.setVisible(true); } - }, "UnblockedDialogThread").start(); + }, "UnblockedDialog").start(); } else { diff --git a/src/jalview/gui/OverviewPanel.java b/src/jalview/gui/OverviewPanel.java index 46a4751..0fbc04a 100755 --- a/src/jalview/gui/OverviewPanel.java +++ b/src/jalview/gui/OverviewPanel.java @@ -304,7 +304,7 @@ public class OverviewPanel extends JPanel return; } - Thread thread = new Thread(this, "UpdateOverviewThread"); + Thread thread = new Thread(this, "UpdateOverview"); thread.start(); repaint(); diff --git a/src/jalview/gui/PopupMenu.java b/src/jalview/gui/PopupMenu.java index 18dd8da..21cc075 100644 --- a/src/jalview/gui/PopupMenu.java +++ b/src/jalview/gui/PopupMenu.java @@ -885,7 +885,7 @@ public class PopupMenu extends JPopupMenu implements ColourChangeListener showLink(url); } - }, "ShowURLMenuThread").start(); + }, "ShowURLMenu").start(); } }); @@ -931,7 +931,7 @@ public class PopupMenu extends JPopupMenu implements ColourChangeListener } } - }, "ShowGroupURLMenuThread").start(); + }, "ShowGroupURLMenu").start(); } }); diff --git a/src/jalview/gui/RedundancyPanel.java b/src/jalview/gui/RedundancyPanel.java index 95862e7..aa3d5b1 100755 --- a/src/jalview/gui/RedundancyPanel.java +++ b/src/jalview/gui/RedundancyPanel.java @@ -96,7 +96,7 @@ public class RedundancyPanel extends GSliderPanel implements Runnable slider.setMaximum(100); slider.setValue(100); - Thread worker = new Thread(this, "CreateRedundancyPanelThread"); + Thread worker = new Thread(this, "CreateRedundancyPanel"); worker.start(); frame = new JInternalFrame(); diff --git a/src/jalview/gui/SplashScreen.java b/src/jalview/gui/SplashScreen.java index e46c5e7..d74309b 100755 --- a/src/jalview/gui/SplashScreen.java +++ b/src/jalview/gui/SplashScreen.java @@ -80,7 +80,7 @@ public class SplashScreen extends JPanel { this.interactiveDialog = interactive; // show a splashscreen that will disapper - Thread t = new Thread(this, "ShowSplashScreenThread"); + Thread t = new Thread(this, "ShowSplashScreen"); t.start(); } diff --git a/src/jalview/gui/StructureViewerBase.java b/src/jalview/gui/StructureViewerBase.java index aa07b7c..c0769a0 100644 --- a/src/jalview/gui/StructureViewerBase.java +++ b/src/jalview/gui/StructureViewerBase.java @@ -352,7 +352,7 @@ public abstract class StructureViewerBase extends GStructureViewer // and call ourselves again. addStructure(pdbentry, seqs, chains, align, alignFrame); } - }, "Adding3DStructureQueueThread").start(); + }, "Adding3DStructureQueue").start(); return; } } @@ -363,7 +363,7 @@ public abstract class StructureViewerBase extends GStructureViewer addingStructures = true; _started = false; alignAddedStructures = align; - worker = new Thread(this, "Adding3DStructureThread"); + worker = new Thread(this, "Adding3DStructure"); worker.start(); return; } diff --git a/src/jalview/gui/TreeCanvas.java b/src/jalview/gui/TreeCanvas.java index 6780921..ec5d28f 100755 --- a/src/jalview/gui/TreeCanvas.java +++ b/src/jalview/gui/TreeCanvas.java @@ -542,7 +542,7 @@ public class TreeCanvas extends JPanel implements MouseListener, Runnable, */ void startPrinting() { - Thread thread = new Thread(this, "PrintTreeCanvasThread"); + Thread thread = new Thread(this, "PrintTreeCanvas"); thread.start(); } diff --git a/src/jalview/gui/VamsasApplication.java b/src/jalview/gui/VamsasApplication.java index f855474..6003416 100644 --- a/src/jalview/gui/VamsasApplication.java +++ b/src/jalview/gui/VamsasApplication.java @@ -326,7 +326,7 @@ public class VamsasApplication implements SelectionSource, VamsasSource Cache.log.info("Jalview finished updating to the Vamsas Session."); } - }, "UpdateVamsasThread"); + }, "UpdateVamsas"); udthread.start(); } diff --git a/src/jalview/gui/WebserviceInfo.java b/src/jalview/gui/WebserviceInfo.java index be812b5..a0191a5 100644 --- a/src/jalview/gui/WebserviceInfo.java +++ b/src/jalview/gui/WebserviceInfo.java @@ -344,7 +344,7 @@ public class WebserviceInfo extends GWebserviceInfo AnimatedPanel ap = new AnimatedPanel(); titlePanel.add(ap, BorderLayout.CENTER); - Thread thread = new Thread(ap, "AnimatedPanelThread"); + Thread thread = new Thread(ap, "AnimatedPanel"); thread.start(); final WebserviceInfo thisinfo = this; frame.addInternalFrameListener( diff --git a/src/jalview/gui/WsPreferences.java b/src/jalview/gui/WsPreferences.java index dc3cadd..2053091 100644 --- a/src/jalview/gui/WsPreferences.java +++ b/src/jalview/gui/WsPreferences.java @@ -567,7 +567,7 @@ public class WsPreferences extends GWsPreferences updateWsMenuConfig(false); refreshWsMenu(true); } - }, "RefreshWebServicesThread").start(); + }, "RefreshWebServices").start(); } @@ -603,7 +603,7 @@ public class WsPreferences extends GWsPreferences progressBar.setVisible(false); validate(); } - }, "RefreshWebServicesMenuProgressBarThread").start(); + }, "RefreshWebServicesMenuProgressBar").start(); } else @@ -626,7 +626,7 @@ public class WsPreferences extends GWsPreferences Desktop.instance.setProgressBar(null, ct); } - }, "RefreshWebServicesMenuThread").start(); + }, "RefreshWebServicesMenu").start(); } } @@ -675,7 +675,7 @@ public class WsPreferences extends GWsPreferences updateWsMenuConfig(false); refreshWsMenu(showProgressInDialog); } - }, "UpdateAndRefreshWebServicesMenuThread").start(); + }, "UpdateAndRefreshWebServicesMenu").start(); } } diff --git a/src/jalview/io/BioJsHTMLOutput.java b/src/jalview/io/BioJsHTMLOutput.java index 045fc7e..5374bb5 100644 --- a/src/jalview/io/BioJsHTMLOutput.java +++ b/src/jalview/io/BioJsHTMLOutput.java @@ -84,7 +84,7 @@ public class BioJsHTMLOutput extends HTMLOutput e.printStackTrace(); return; } - new Thread(this, "ExportBioJsHTMLThread").start(); + new Thread(this, "ExportBioJsHTML").start(); } diff --git a/src/jalview/io/FileLoader.java b/src/jalview/io/FileLoader.java index 71d0e4a..6735a80 100755 --- a/src/jalview/io/FileLoader.java +++ b/src/jalview/io/FileLoader.java @@ -104,7 +104,7 @@ public class FileLoader implements Runnable this.protocol = protocol; this.format = format; - final Thread loader = new Thread(this, "LoadFileThread"); + final Thread loader = new Thread(this, "LoadFile"); SwingUtilities.invokeLater(new Runnable() { @@ -183,7 +183,7 @@ public class FileLoader implements Runnable */ protected AlignFrame _LoadFileWaitTillLoaded() { - Thread loader = new Thread(this, "LoadFileWithWaitingThread"); + Thread loader = new Thread(this, "LoadFileWithWaiting"); loader.start(); while (loader.isAlive()) diff --git a/src/jalview/io/HtmlSvgOutput.java b/src/jalview/io/HtmlSvgOutput.java index 87be23e..7d6ae4e 100644 --- a/src/jalview/io/HtmlSvgOutput.java +++ b/src/jalview/io/HtmlSvgOutput.java @@ -67,7 +67,7 @@ public class HtmlSvgOutput extends HTMLOutput e.printStackTrace(); return; } - new Thread(this, "ExportSvgHTMLThread").start(); + new Thread(this, "ExportSvgHTML").start(); } public int printUnwrapped(int pwidth, int pheight, int pi, diff --git a/src/jalview/javascript/JSFunctionExec.java b/src/jalview/javascript/JSFunctionExec.java index 33da111..cfde4ae 100644 --- a/src/jalview/javascript/JSFunctionExec.java +++ b/src/jalview/javascript/JSFunctionExec.java @@ -249,7 +249,7 @@ public class JSFunctionExec implements Runnable if (executor == null) { executor = new Thread(new JSFunctionExec(jvlite), - "JavaScriptThread"); + "JavaScript"); executor.start(); } synchronized (jsExecQueue) diff --git a/src/jalview/util/AWTConsole.java b/src/jalview/util/AWTConsole.java index be03591..8f45eaa 100644 --- a/src/jalview/util/AWTConsole.java +++ b/src/jalview/util/AWTConsole.java @@ -125,11 +125,11 @@ public class AWTConsole extends WindowAdapter // Starting two seperate threads to read from the PipedInputStreams // - reader = new Thread(this, "AWTConsoleReader1Thread"); + reader = new Thread(this, "AWTConsoleReader1"); reader.setDaemon(true); reader.start(); // - reader2 = new Thread(this, "AWTConsoleReader2Thread"); + reader2 = new Thread(this, "AWTConsoleReader2"); reader2.setDaemon(true); reader2.start(); @@ -150,7 +150,7 @@ public class AWTConsole extends WindowAdapter // We do it with a seperate Thread becasue we don't wan't to break a Thread // used by the Console. System.out.println("\nLets throw an error on this console"); - errorThrower = new Thread(this, "AWTConsoleErrorLogThread"); + errorThrower = new Thread(this, "AWTConsoleErrorLog"); errorThrower.setDaemon(true); errorThrower.start(); } diff --git a/src/jalview/ws/DBRefFetcher.java b/src/jalview/ws/DBRefFetcher.java index 2b7c6df..c01b99c 100644 --- a/src/jalview/ws/DBRefFetcher.java +++ b/src/jalview/ws/DBRefFetcher.java @@ -267,7 +267,7 @@ public class DBRefFetcher implements Runnable // TODO can we not simply write // if (waitTillFinished) { run(); } else { new Thread(this).start(); } - Thread thread = new Thread(this, "FetchDBRefThread"); + Thread thread = new Thread(this, "FetchDBRef"); thread.start(); running = true; diff --git a/src/jalview/ws/DasSequenceFeatureFetcher.java b/src/jalview/ws/DasSequenceFeatureFetcher.java index 06d176e..21af021 100644 --- a/src/jalview/ws/DasSequenceFeatureFetcher.java +++ b/src/jalview/ws/DasSequenceFeatureFetcher.java @@ -213,7 +213,7 @@ public class DasSequenceFeatureFetcher if (reply == JvOptionPane.YES_OPTION) { Thread thread = new Thread(new FetchDBRefs(), - "FetchDBReferenceManagerThread"); + "FetchDBReferenceManager"); thread.start(); } else @@ -231,7 +231,7 @@ public class DasSequenceFeatureFetcher private void _startFetching() { running = true; - new Thread(new FetchSeqFeatures(), "FetchSeqFeaturesThread").start(); + new Thread(new FetchSeqFeatures(), "FetchSeqFeatures").start(); } class FetchSeqFeatures implements Runnable diff --git a/src/jalview/ws/jws2/Jws2Discoverer.java b/src/jalview/ws/jws2/Jws2Discoverer.java index fe303f8..9bc8713 100644 --- a/src/jalview/ws/jws2/Jws2Discoverer.java +++ b/src/jalview/ws/jws2/Jws2Discoverer.java @@ -237,7 +237,7 @@ public class Jws2Discoverer implements Runnable, WSMenuEntryProviderI } qrys.add(squery); - new Thread(squery, "JabaQueryThread").start(); + new Thread(squery, "JabaQuery").start(); } boolean finished = true; do @@ -458,7 +458,7 @@ public class Jws2Discoverer implements Runnable, WSMenuEntryProviderI changeSupport.firePropertyChange("services", new Vector(), services); }; - }, "LoadPreferredServiceThread").start(); + }, "LoadPreferredService").start(); } }); -- 1.7.10.2