JAL-3253 miscellaneous tidying up before merge to JS-develop
[jalview.git] / src / jalview / urls / IdentifiersUrlProvider.java
index 8744958..b43db57 100644 (file)
@@ -85,7 +85,7 @@ private HashMap<String, UrlLink> readIdentifiers(String idFileName)
     {
        // NOTE: THIS WILL FAIL IN SWINGJS BECAUSE IT INVOLVES A FILE READER
     
-      System.out.println("IDentifiersURLProvider.idFileName=" + idFileName);
+     // System.out.println("IDentifiersURLProvider.idFileName=" + idFileName);
       FileReader reader = new FileReader(idFileName);
       String key = "";
       Map<String, Object> obj = (Map<String, Object>) JSONUtils.parse(reader);
@@ -119,8 +119,7 @@ private HashMap<String, UrlLink> readIdentifiers(String idFileName)
       }
     } catch (IOException | ParseException e)
     {
-      // unnecessary 
-      e.printStackTrace();
+      //e.printStackTrace();
       // Note how in JavaScript we can grab the first bytes from any file reader. 
       // Typical report here is "NetworkError" because the file does not exist.
       // "https://." is coming from System.getProperty("user.home"), but this could