rzo1 commented on code in PR #486: URL: https://github.com/apache/opennlp/pull/486#discussion_r1065397446
########## opennlp-tools/src/main/java/opennlp/tools/cmdline/dictionary/DictionaryBuilderTool.java: ########## @@ -56,8 +58,8 @@ public void run(String[] args) { CmdLineUtil.checkInputFile("dictionary input file", dictInFile); CmdLineUtil.checkOutputFile("dictionary output file", dictOutFile); - try (InputStreamReader in = new InputStreamReader(new FileInputStream(dictInFile), encoding); - OutputStream out = new FileOutputStream(dictOutFile)) { + try (Reader in = new BufferedReader(new InputStreamReader(new FileInputStream(dictInFile), encoding)); + OutputStream out = new FileOutputStream(dictOutFile)) { Review Comment: No `BufferedOutputStream` for `FileOutputStream` ? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@opennlp.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org