void () { doTest( """ import java.io.*; class C { void foo(File file1) { /*_Merge nested 'try' statements*/try { try { FileInputStream in = new FileInputStream(file1); } catch (FileNotFoundException e) { // log } } catch (Exception e) { // log } } }""", """ import java.io.*; class C { void foo(File file1) { try { FileInputStream in = new FileInputStream(file1); } catch (FileNotFoundException e) { // log } catch (Exception e) { // log } } }"""); }