I thought about extracting the method as well but didn't get around to doing it yet.
To be completely correct, the close method should be in a finally block, in case of an IOException otherwise the file will remain open (I can add that, if you like)

On a side note, I think calling the class IOUtils as well is not good since it makes the methods from the other class available only by complete package name, maybe the class could be called IOUtils2 ?

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email

Reply via email to