Merge branch 'develop' into update_212_Dec_merge_with_21125_chamges
[jalview.git] / src / jalview / urls / IdentifiersUrlProvider.java
index 850a230..24d2406 100644 (file)
@@ -84,7 +84,6 @@ public class IdentifiersUrlProvider extends UrlProviderImpl
     try
     {
       // NOTE: THIS WILL FAIL IN SWINGJS BECAUSE IT INVOLVES A FILE READER
-
       FileReader reader = new FileReader(idFileName);
       String key = "";
       Map<String, Object> obj = (Map<String, Object>) JSONUtils
@@ -119,13 +118,6 @@ public class IdentifiersUrlProvider extends UrlProviderImpl
       }
     } catch (IOException | ParseException e)
     {
-      // unnecessary 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
-      // be set by the page developer to anything, of course.
       errorMessage = e.toString();
       idData.clear();
     }