:+1 It looks useful for me. http://docs.oracle.com/javase/7/docs/technotes/guides/language/try-with-resources.html