void () { // Inspired by IDEA-47809 getSettings().CATCH_ON_NEW_LINE = false; getSettings().FINALLY_ON_NEW_LINE = false; getSettings().KEEP_LINE_BREAKS = true; doMethodTest( """ try { } catch (Exception e) { } finally { }""", """ try { } catch (Exception e) { } finally { }""" ); }