X-Git-Url: http://source.jalview.org/gitweb/?p=jalview.git;a=blobdiff_plain;f=src%2Fjalview%2Fgui%2FDesktop.java;h=429a2c149356527c8f081d6eb1b7add66b44518b;hp=c713a942dd75f7297a7463fa36d75416587221ad;hb=7d92d3994908aae709e7c85cc5e1a1c4775907ed;hpb=499cb309e8622312059ad73729e41c9838956f06 diff --git a/src/jalview/gui/Desktop.java b/src/jalview/gui/Desktop.java index c713a94..429a2c1 100644 --- a/src/jalview/gui/Desktop.java +++ b/src/jalview/gui/Desktop.java @@ -582,20 +582,28 @@ public class Desktop extends jalview.jbgui.GDesktop }).start(); } - public void getIdentifiersOrgData() { - if (Cache.getProperty("NOIDENTIFIERSSERVICE") == null) { - // Thread off the identifiers fetcher - new Thread(new Runnable() { + public void getIdentifiersOrgData() + { + if (Cache.getProperty("NOIDENTIFIERSSERVICE") == null) + {// Thread off the identifiers fetcher + new Thread(new Runnable() + { @Override - public void run() { + public void run() + { jalview.bin.Console.debug("Downloading data from identifiers.org"); - try { - UrlDownloadClient.download(IdOrgSettings.getUrl(), IdOrgSettings.getDownloadLocation()); - } catch (IOException e) { - jalview.bin.Console.debug("Exception downloading identifiers.org data" + e.getMessage()); + try + { + UrlDownloadClient.download(IdOrgSettings.getUrl(), + IdOrgSettings.getDownloadLocation()); + } catch (IOException e) + { + jalview.bin.Console.debug("Exception downloading identifiers.org data" + + e.getMessage()); } } }).start(); + ; } }