tommysiu / beanio

Automatically exported from code.google.com/p/beanio
Apache License 2.0
0 stars 0 forks source link

Change BeanReader and BeanWriter to implements Closeable #126

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
So we can use try-with-resources feature to auto close resources.

Original issue reported on code.google.com by ota...@otavio.com.br on 1 Nov 2014 at 9:12

GoogleCodeExporter commented 8 years ago
Agreed, although note that close() may throw a BeanIOException if more records 
were expected.

Original comment by kevin.s...@gmail.com on 5 Nov 2014 at 2:23