fixes wrong method name for configureIssueEditor()

Sat, 17 Oct 2020 15:21:56 +0200

author
Mike Becker <universe@uap-core.de>
date
Sat, 17 Oct 2020 15:21:56 +0200
changeset 133
ef075cd7ce55
parent 132
57e5a4624919
child 134
f47e82cd6077

fixes wrong method name for configureIssueEditor()

src/main/java/de/uapcore/lightpit/modules/ProjectsModule.java file | annotate | diff | comparison | revisions
--- a/src/main/java/de/uapcore/lightpit/modules/ProjectsModule.java	Thu Oct 15 20:04:56 2020 +0200
+++ b/src/main/java/de/uapcore/lightpit/modules/ProjectsModule.java	Sat Oct 17 15:21:56 2020 +0200
@@ -274,7 +274,7 @@
         return ResponseType.HTML;
     }
 
-    private void configureProjectEditor(IssueEditView viewModel, Issue issue, DataAccessObjects dao) throws SQLException {
+    private void configureIssueEditor(IssueEditView viewModel, Issue issue, DataAccessObjects dao) throws SQLException {
         issue.setProject(viewModel.getProjectInfo().getProject());
         viewModel.setIssue(issue);
         viewModel.configureVersionSelectors(viewModel.getProjectInfo().getVersions());
@@ -303,7 +303,7 @@
         }
 
         issueDao.joinVersionInformation(issue);
-        configureProjectEditor(viewModel, issue, dao);
+        configureIssueEditor(viewModel, issue, dao);
 
         return forwardView(req, viewModel, "issue-form");
     }
@@ -321,7 +321,7 @@
 
         final var issue = new Issue(-1);
         issue.setProject(projectInfo.getProject());
-        configureProjectEditor(viewModel, issue, dao);
+        configureIssueEditor(viewModel, issue, dao);
 
         return forwardView(req, viewModel, "issue-form");
     }

mercurial