void () { // Inspired by IDEA-58068 getSettings().FINALLY_ON_NEW_LINE = false; getSettings().SPACE_BEFORE_FINALLY_KEYWORD = false; doMethodTest( """ try { } finally { }""", """ try { }finally { }""" ); getSettings().SPACE_BEFORE_FINALLY_KEYWORD = true; doMethodTest( """ try { }finally { }""", """ try { } finally { }""" ); }