X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fws%2Fdbsources%2FEbiFileRetrievedProxy.java;h=bef697607503e82bef16e4029252071aafe62c70;hb=1ef93cb2817f75699773f049b8d25e5b509c2830;hp=bc29a2d14cf7df37cefd48fb0a5361692ffe89c2;hpb=865a855a4ca87eadb3e5ff284ed32ed307d9c34b;p=jalview.git diff --git a/src/jalview/ws/dbsources/EbiFileRetrievedProxy.java b/src/jalview/ws/dbsources/EbiFileRetrievedProxy.java index bc29a2d..bef6976 100644 --- a/src/jalview/ws/dbsources/EbiFileRetrievedProxy.java +++ b/src/jalview/ws/dbsources/EbiFileRetrievedProxy.java @@ -1,27 +1,30 @@ /* - * Jalview - A Sequence Alignment Editor and Viewer (Version 2.8.0b1) - * Copyright (C) 2014 The Jalview Authors + * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$) + * Copyright (C) $$Year-Rel$$ The Jalview Authors * * This file is part of Jalview. * * Jalview is free software: you can redistribute it and/or * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. + * as published by the Free Software Foundation, either version 3 + * of the License, or (at your option) any later version. * * Jalview is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty * of MERCHANTABILITY or FITNESS FOR A PARTICULAR * PURPOSE. See the GNU General Public License for more details. * - * You should have received a copy of the GNU General Public License along with Jalview. If not, see . + * You should have received a copy of the GNU General Public License + * along with Jalview. If not, see . * The Jalview Authors are detailed in the 'AUTHORS' 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 { @@ -34,7 +37,9 @@ public abstract class EbiFileRetrievedProxy extends DbSourceProxyImpl public StringBuffer getRawRecords() { if (file == null) + { return null; + } StringBuffer bf = null; try { @@ -52,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;