On 2/22/11 12:44 AM, Alan Bateman wrote:
Minor comment on test/java/util/Formatter/FailingConstructors.java is that an
alternative to using try-with-resources is to just replace it with
Files.write(file.toPath(), FILE_CONTENTS.getBytes()). Same thing in
test/java/util/Scanner/FailingConstructors.java.

Ah, good point. It's not directly related to try-with-resources but it's good cleanup nonetheless. I'll integrate this change.

Thanks.

s'marks

Reply via email to