On Mon, Feb 11, 2013 at 6:53 AM, Alan Bateman <Alan.Bateman at oracle.com>wrote: > One improvement would be to use try-with-resources. > I did that, despite the loss of portability. Portable java programs might be able to start using these new-fangled features starting around 2020.