Skip to content

Commit 8262878

Browse files
committed
replace log with system out calls
1 parent 68a5d62 commit 8262878

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎biojava-ontology/src/main/java/demo/ParseGO.java‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public class ParseGO {
4242
private static final Logger logger = LoggerFactory.getLogger(ParseGO.class);
4343

4444
/**
45-
* Downloads Biosapiens OBO file from Sourceforge and prints out name/description pairs
45+
* Parses Biosapiens OBO file from Sourceforge and prints out name/description pairs
4646
* @param args
4747
*/
4848
public static void main(String[] args){
@@ -61,10 +61,10 @@ public static void main(String[] args){
6161
Iterator<Term> iter = keys.iterator();
6262
while (iter.hasNext()){
6363
Term t = iter.next();
64-
logger.info("{} [{}]", t.getName(), t.getDescription());
64+
System.out.println(t.getName() + " " + t.getDescription());
6565
}
6666
} catch (Exception e){
67-
logger.error("Exception: ", e);
67+
System.err.println("Exception: " + e);
6868
}
6969
}
7070
}

0 commit comments

Comments
 (0)