void () { doTest( """ import java.io.*; class C { void foo(File file) { /*_Merge nested 'try' statements*/try { try (InputStreamReader r = new InputStreamReader(new FileInputStream(file), "utf-8")) { System.out.println(r); } } catch (IOException e) { throw new RuntimeException(e); } } }""", """ import java.io.*; class C { void foo(File file) { try (InputStreamReader r = new InputStreamReader(new FileInputStream(file), "utf-8")) { System.out.println(r); } catch (IOException e) { throw new RuntimeException(e); } } }"""); }