Source:
<code>public String getQuestionWithoutExistingResponseSubmissionFormHtml( boolean sessionIsOpen, int qnIdx, int responseIdx, String courseId, int totalNumRecipients) { StringBuilder optionListHtml = new StringBuilder(); String optionFragmentTemplate = FormTemplates.RANK_SUBMISSION_FORM_OPTIONFRAGMENT; String optionFragment = Templates.populateTemplate(optionFragmentTemplate, Slots.QUESTION_INDEX, Integer.toString(qnIdx), Slots.RESPONSE_INDEX, Integer.toString(responseIdx), "${optionIdx}", "0", Slots.DISABLED, sessionIsOpen ? "" : "disabled", Slots.RANK_OPTION_VISIBILITY, "style=\"display:none\"", "${options}", getSubmissionOptionsHtmlForRankingRecipients(totalNumRecipients, Const.INT_UNINITIALIZED), Slots.FEEDBACK_RESPONSE_TEXT, Const.ParamsNames.FEEDBACK_RESPONSE_TEXT, Slots.RANK_OPTION_VALUE, ""); optionListHtml.append(optionFragment).append(Const.EOL); return Templates.populateTemplate( FormTemplates.RANK_SUBMISSION_FORM, "${rankSubmissionFormOptionFragments}", optionListHtml.toString(), Slots.QUESTION_INDEX, Integer.toString(qnIdx), Slots.RESPONSE_INDEX, Integer.toString(responseIdx), <START> Slots.RANK_OPTION_VISIBILITY, "style=\"display:none\"", <END> "${rankToRecipientsValue}", "true", "${Const.ParamsNames.FEEDBACK_QUESTION_RANKTORECIPIENTS}", Const.ParamsNames.FEEDBACK_QUESTION_RANKTORECIPIENTS, "${Const.ParamsNames.FEEDBACK_QUESTION_RANKNUMOPTION}", Const.ParamsNames.FEEDBACK_QUESTION_RANKNUMOPTIONS, "${rankNumOptionValue}", Integer.toString(0), "${Const.ParamsNames.FEEDBACK_QUESTION_RANKISDUPLICATESALLOWED}", Const.ParamsNames.FEEDBACK_QUESTION_RANKISDUPLICATESALLOWED, "${areDuplicatesAllowedValue}", Boolean.toString(areDuplicatesAllowed)); }</code><technical_language>additional indentations well</technical_language>

Target:
public String getQuestionWithoutExistingResponseSubmissionFormHtml( boolean sessionIsOpen, int qnIdx, int responseIdx, String courseId, int totalNumRecipients) { StringBuilder optionListHtml = new StringBuilder(); String optionFragmentTemplate = FormTemplates.RANK_SUBMISSION_FORM_OPTIONFRAGMENT; String optionFragment = Templates.populateTemplate(optionFragmentTemplate, Slots.QUESTION_INDEX, Integer.toString(qnIdx), Slots.RESPONSE_INDEX, Integer.toString(responseIdx), Slots.OPTION_INDEX, "0", Slots.DISABLED, sessionIsOpen ? "" : "disabled", Slots.RANK_OPTION_VISIBILITY, "style=\"display:none\"", Slots.OPTIONS, getSubmissionOptionsHtmlForRankingRecipients(totalNumRecipients, Const.INT_UNINITIALIZED), Slots.FEEDBACK_RESPONSE_TEXT, Const.ParamsNames.FEEDBACK_RESPONSE_TEXT, Slots.RANK_OPTION_VALUE, ""); optionListHtml.append(optionFragment).append(Const.EOL); return Templates.populateTemplate( FormTemplates.RANK_SUBMISSION_FORM, Slots.RANK_SUBMISSION_FORM_OPTION_FRAGMENTS, optionListHtml.toString(), Slots.QUESTION_INDEX, Integer.toString(qnIdx), Slots.RESPONSE_INDEX, Integer.toString(responseIdx), Slots.RANK_OPTION_VISIBILITY, "style=\"display:none\"", Slots.RANK_TO_RECIPIENTS_VALUE, "true", Slots.RANK_PARAM_TO_RECIPIENT, Const.ParamsNames.FEEDBACK_QUESTION_RANKTORECIPIENTS, Slots.RANK_PARAM_NUM_OPTION, Const.ParamsNames.FEEDBACK_QUESTION_RANKNUMOPTIONS, Slots.RANK_NUM_OPTION_VALUE, Integer.toString(0), Slots.RANK_PARAM_IS_DUPLICATES_ALLOWED, Const.ParamsNames.FEEDBACK_QUESTION_RANKISDUPLICATESALLOWED, Slots.RANK_ARE_DUPLICATES_ALLOWED_VALUE, Boolean.toString(isAreDuplicatesAllowed())); }