X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=forester%2Fjava%2Fsrc%2Forg%2Fforester%2Futil%2FBasicTableParser.java;h=8d7f887c776271875deadee0c26f13ee5d3847c4;hb=88718609970e490e94727d12ebbca1270ba2c0a7;hp=4e5f4b35b6d87beb139ca24c053acb53078a43e7;hpb=01d681ced8f186561a3dd76715d950bd0eabd82d;p=jalview.git diff --git a/forester/java/src/org/forester/util/BasicTableParser.java b/forester/java/src/org/forester/util/BasicTableParser.java index 4e5f4b3..8d7f887 100644 --- a/forester/java/src/org/forester/util/BasicTableParser.java +++ b/forester/java/src/org/forester/util/BasicTableParser.java @@ -61,7 +61,7 @@ public class BasicTableParser { final boolean use_last_separator_only, final String start_of_comment_line, final boolean tables_separated_by_single_string_line ) - throws IOException { + throws IOException { if ( use_first_separator_only && use_last_separator_only ) { throw new IllegalArgumentException(); } @@ -77,7 +77,7 @@ public class BasicTableParser { if ( !ForesterUtil.isEmpty( line ) && ( ( ( line.charAt( 0 ) == '"' ) && ( line.charAt( line.length() - 1 ) == '"' ) && ( ForesterUtil .countChars( line, '"' ) == 2 ) ) || ( ( line.charAt( 0 ) == '\'' ) - && ( line.charAt( line.length() - 1 ) == '\'' ) && ( ForesterUtil.countChars( line, '\'' ) == 2 ) ) ) ) { + && ( line.charAt( line.length() - 1 ) == '\'' ) && ( ForesterUtil.countChars( line, '\'' ) == 2 ) ) ) ) { line = line.substring( 1, line.length() - 1 ).trim(); } if ( saw_first_table