1.1 --- a/src/main/kotlin/de/uapcore/lightpit/servlet/ProjectServlet.kt Sun Dec 12 18:16:46 2021 +0100 1.2 +++ b/src/main/kotlin/de/uapcore/lightpit/servlet/ProjectServlet.kt Wed Dec 15 19:56:05 2021 +0100 1.3 @@ -25,8 +25,11 @@ 1.4 1.5 package de.uapcore.lightpit.servlet 1.6 1.7 -import de.uapcore.lightpit.* 1.8 +import de.uapcore.lightpit.AbstractServlet 1.9 +import de.uapcore.lightpit.HttpRequest 1.10 +import de.uapcore.lightpit.boolValidator 1.11 import de.uapcore.lightpit.dao.DataAccessObject 1.12 +import de.uapcore.lightpit.dateOptValidator 1.13 import de.uapcore.lightpit.entities.* 1.14 import de.uapcore.lightpit.types.IssueCategory 1.15 import de.uapcore.lightpit.types.IssueStatus 1.16 @@ -533,7 +536,7 @@ 1.17 dao.updateComment(comment) 1.18 dao.insertHistoryEvent(issue, comment) 1.19 } else { 1.20 - logger().debug("Not updating comment ${comment.id} because nothing changed.") 1.21 + logger.debug("Not updating comment ${comment.id} because nothing changed.") 1.22 } 1.23 } else { 1.24 http.response.sendError(403) 1.25 @@ -592,7 +595,7 @@ 1.26 dao.updateIssue(issue) 1.27 dao.insertHistoryEvent(issue) 1.28 } else { 1.29 - logger().debug("Not updating issue ${issue.id} because nothing changed.") 1.30 + logger.debug("Not updating issue ${issue.id} because nothing changed.") 1.31 } 1.32 1.33 val newComment = http.param("comment")