X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=forester%2Fjava%2Fsrc%2Forg%2Fforester%2Fio%2Fparsers%2Ftol%2FTolParser.java;h=6248f4ad75451980b0f9a711927ff4ee8e7aa27f;hb=10297bd8b8a4b4ab198a17a42fc6ff24ae2ed49b;hp=8299b78de3ff23e69cb0e7c5f626215d3abc38ae;hpb=b59302eba1039cb46f634ffe77cebc1b5c9bbcbf;p=jalview.git diff --git a/forester/java/src/org/forester/io/parsers/tol/TolParser.java b/forester/java/src/org/forester/io/parsers/tol/TolParser.java index 8299b78..6248f4a 100644 --- a/forester/java/src/org/forester/io/parsers/tol/TolParser.java +++ b/forester/java/src/org/forester/io/parsers/tol/TolParser.java @@ -174,7 +174,7 @@ public class TolParser implements PhylogenyParser { final Reader reader = getReaderFromZipFile(); if ( reader == null ) { throw new PhylogenyParserException( "Zip file \"" + getSource() - + "\" appears not to contain any entries" ); + + "\" appears not to contain any entries" ); } xml_reader.parse( new InputSource( reader ) ); } @@ -194,7 +194,7 @@ public class TolParser implements PhylogenyParser { final Reader reader = new InputStreamReader( zip_is ); if ( reader == null ) { throw new PhylogenyParserException( "Zip input stream \"" + getSource() - + "\" appears not to contain any data" ); + + "\" appears not to contain any data" ); } xml_reader.parse( new InputSource( reader ) ); } @@ -218,7 +218,7 @@ public class TolParser implements PhylogenyParser { } catch ( final ParserConfigurationException parser_config_exception ) { throw new PhylogenyParserException( "Failed to parse [" + getSource() - + "] Problem with xml parser _configuration: " + parser_config_exception.getMessage() ); + + "] Problem with xml parser _configuration: " + parser_config_exception.getMessage() ); } catch ( final IOException e ) { throw new PhylogenyParserException( "Problem with input source [" + getSource() + "]: \n" + e.getMessage() );