src/main/kotlin/de/uapcore/lightpit/servlet/ProjectServlet.kt

changeset 247
e71ae69c68c0
parent 242
b7f3e972b13c
child 248
90dc13c78b5d
--- a/src/main/kotlin/de/uapcore/lightpit/servlet/ProjectServlet.kt	Sun Dec 12 18:16:46 2021 +0100
+++ b/src/main/kotlin/de/uapcore/lightpit/servlet/ProjectServlet.kt	Wed Dec 15 19:56:05 2021 +0100
@@ -25,8 +25,11 @@
 
 package de.uapcore.lightpit.servlet
 
-import de.uapcore.lightpit.*
+import de.uapcore.lightpit.AbstractServlet
+import de.uapcore.lightpit.HttpRequest
+import de.uapcore.lightpit.boolValidator
 import de.uapcore.lightpit.dao.DataAccessObject
+import de.uapcore.lightpit.dateOptValidator
 import de.uapcore.lightpit.entities.*
 import de.uapcore.lightpit.types.IssueCategory
 import de.uapcore.lightpit.types.IssueStatus
@@ -533,7 +536,7 @@
                         dao.updateComment(comment)
                         dao.insertHistoryEvent(issue, comment)
                     } else {
-                        logger().debug("Not updating comment ${comment.id} because nothing changed.")
+                        logger.debug("Not updating comment ${comment.id} because nothing changed.")
                     }
                 } else {
                     http.response.sendError(403)
@@ -592,7 +595,7 @@
                     dao.updateIssue(issue)
                     dao.insertHistoryEvent(issue)
                 } else {
-                    logger().debug("Not updating issue ${issue.id} because nothing changed.")
+                    logger.debug("Not updating issue ${issue.id} because nothing changed.")
                 }
 
                 val newComment = http.param("comment")

mercurial