We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a22ed41 commit 7070bc6Copy full SHA for 7070bc6
biojava-core/src/main/java/org/biojava/nbio/core/sequence/io/GenbankSequenceParser.java
@@ -405,9 +405,7 @@ private List<String[]> readSection(BufferedReader bufferedReader) {
405
}
406
407
408
- } catch (IOException e) {
409
- throw new ParserException(e.getMessage());
410
- } catch (RuntimeException e) {
+ } catch (IOException | RuntimeException e) {
411
throw new ParserException(e.getMessage());
412
413
return section;
0 commit comments