Remove try with resources so my jdk 7 to jdk 6 converter can work it's magic