JAL-629 Change all stdout and stderr output to use Console.outPrintln and Console...
[jalview.git] / src / jalview / ws / dbsources / EbiFileRetrievedProxy.java
index 45f4f7a..bef6976 100644 (file)
  */
 package jalview.ws.dbsources;
 
+import jalview.ws.seqfetcher.DbSourceProxyImpl;
+
 import java.io.BufferedReader;
 import java.io.File;
 import java.io.FileReader;
-import jalview.ws.seqfetcher.DbSourceProxyImpl;
 
 public abstract class EbiFileRetrievedProxy extends DbSourceProxyImpl
 {
@@ -36,7 +37,9 @@ public abstract class EbiFileRetrievedProxy extends DbSourceProxyImpl
   public StringBuffer getRawRecords()
   {
     if (file == null)
+    {
       return null;
+    }
     StringBuffer bf = null;
     try
     {
@@ -54,7 +57,7 @@ public abstract class EbiFileRetrievedProxy extends DbSourceProxyImpl
       }
     } catch (Exception e)
     {
-      System.err.println("Warning: problems reading temp file " + file);
+      jalview.bin.Console.errPrintln("Warning: problems reading temp file " + file);
       return null;
     }
     return bf;