void () { // Inspired by IDEA-58068 getSettings().WHILE_ON_NEW_LINE = false; getSettings().SPACE_BEFORE_WHILE_KEYWORD = false; doMethodTest( "do {\n" + "} while (true);", "do {\n" + "}while (true);" ); getSettings().SPACE_BEFORE_WHILE_KEYWORD = true; doMethodTest( "do {\n" + "}while (true);", "do {\n" + "} while (true);" ); }