[
https://issues.apache.org/jira/browse/IO-848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17818593#comment-17818593
]
Elliotte Rusty Harold commented on IO-848:
------------------------------------------
I think you're right. Looks like Eclipse autocomplete pulled in a completely
different FileUtil class from some unrelated project and I wasn't paying close
enough attention.
> FileUtil.createTempFileWithLines swallows exceptions
> ----------------------------------------------------
>
> Key: IO-848
> URL: https://issues.apache.org/jira/browse/IO-848
> Project: Commons IO
> Issue Type: Bug
> Reporter: Elliotte Rusty Harold
> Priority: Critical
>
> Although this method is declared to throw IOException, it doesn't do so when
> writing the file as it uses a PrintWriter.
> Probably worth thinking about how this method handles encoding too.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)