Skip to content

Commit

Permalink
form edit
Browse files Browse the repository at this point in the history
  • Loading branch information
tifoha committed Jan 28, 2016
1 parent 874e70d commit d782116
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,14 @@
response.sendRedirect(Imcms.getServerProperties().getProperty("ClientAddress") + "/servlet/StartDoc?meta_id=" + viewing.getTextDocument().getId());
return;
}
Map<Step, Set<ApplicationFormQuestion>> steps = new TreeMap<>();
Map<Step, Set<ApplicationFormQuestion>> steps = new TreeMap<Step, Set<ApplicationFormQuestion>>();
for (ApplicationFormQuestion formQuestion : app.getApplicationForm().getQuestions()) {
Step step = new Step(formQuestion.getStepName(), formQuestion.getStepSortOrder());
Set<ApplicationFormQuestion> questions = steps.get(step);
if (questions == null) {
questions = new TreeSet<>();
questions = new TreeSet<ApplicationFormQuestion>();
steps.put(step, questions);
}
Expand Down

0 comments on commit d782116

Please sign in to comment.