X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fio%2FInputStreamParser.java;h=65ba74aadc13b34012422f194c7be82bddbbc1a1;hb=d14d7360a1855481eadb19536b86253bbc8eccdc;hp=19cbad9a5ba206e6d34ab64a18fe140dd7627308;hpb=b96662ce423467b585bad509814f7b7a0b8638cd;p=jalview.git diff --git a/src/jalview/io/InputStreamParser.java b/src/jalview/io/InputStreamParser.java index 19cbad9..65ba74a 100644 --- a/src/jalview/io/InputStreamParser.java +++ b/src/jalview/io/InputStreamParser.java @@ -1,19 +1,22 @@ /* - * Jalview - A Sequence Alignment Editor and Viewer (Version 2.8) - * Copyright (C) 2012 J Procter, AM Waterhouse, LM Lui, J Engelhardt, G Barton, M Clamp, S Searle + * 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.io; @@ -32,23 +35,16 @@ public class InputStreamParser extends FileParse super(); setDataName(dataName); dataIn = new BufferedReader(new InputStreamReader(is)); - error=false; + error = false; } + public InputStreamParser(Reader isreader, String dataName) throws IOException { super(); setDataName(dataName); dataIn = new BufferedReader(isreader); - error=false; - } - - - @Override - protected void finalize() throws Throwable - { - dataIn = null; - super.finalize(); + error = false; } }