tema16 / tt4j

Automatically exported from code.google.com/p/tt4j
0 stars 0 forks source link

StreamGobbler reading stderr needs to be revised #5

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
In 1.0.15, data written by TreeTagger to strerr is collected in a StringBuilder 
and printed to System.out if an exception occurs in the gobbler. This is not 
optimal. Improvements should include:

- make sure that buffer for TreeTagger stderr does not grow indefinitely
- do not print to System.out
- if TreeTagger has written a message to stderr, display it in case of any 
failure, not only when the gobbler gets an exception

Original issue reported on code.google.com by richard.eckart on 3 Jun 2011 at 10:46