X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fext%2Fso%2FSequenceOntology.java;fp=src%2Fjalview%2Fext%2Fso%2FSequenceOntology.java;h=0d631e66ee3ed0c3124eb5f69f63d8a5f521f5f0;hb=daf64249356f9a156423bd56ab0336d9da2e5325;hp=a4c195fd1fdd4c5fe6ec19e1af02e16620d3a00a;hpb=4f9c22055c3cdbfc9c4375dcb74755a89ec32b62;p=jalview.git diff --git a/src/jalview/ext/so/SequenceOntology.java b/src/jalview/ext/so/SequenceOntology.java index a4c195f..0d631e6 100644 --- a/src/jalview/ext/so/SequenceOntology.java +++ b/src/jalview/ext/so/SequenceOntology.java @@ -102,8 +102,8 @@ public class SequenceOntology implements SequenceOntologyI try { String zipFile = ontologyFile + ".zip"; - InputStream inStream = this.getClass().getResourceAsStream( - "/" + zipFile); + InputStream inStream = this.getClass() + .getResourceAsStream("/" + zipFile); zipStream = new ZipInputStream(new BufferedInputStream(inStream)); ZipEntry entry; while ((entry = zipStream.getNextEntry()) != null) @@ -151,8 +151,8 @@ public class SequenceOntology implements SequenceOntologyI * @throws ParseException * @throws IOException */ - protected void loadOboFile(InputStream is) throws ParseException, - IOException + protected void loadOboFile(InputStream is) + throws ParseException, IOException { BufferedReader oboFile = new BufferedReader(new InputStreamReader(is)); OboParser parser = new OboParser();