diff --git a/rest/taskana-rest-spring/src/main/java/pro/taskana/task/rest/TaskCommentController.java b/rest/taskana-rest-spring/src/main/java/pro/taskana/task/rest/TaskCommentController.java index 991c2e5af3..1fb4a3dab1 100644 --- a/rest/taskana-rest-spring/src/main/java/pro/taskana/task/rest/TaskCommentController.java +++ b/rest/taskana-rest-spring/src/main/java/pro/taskana/task/rest/TaskCommentController.java @@ -84,13 +84,13 @@ public ResponseEntity getTaskComment( /** * This endpoint retrieves all Task Comments for a specific Task. Further filters can be applied. * + * @title Get a list of all Task Comments for a specific Task * @param taskId the Id of the Task whose comments are requested * @param request the HTTP request * @param filterParameter the filter parameters * @param sortParameter the sort parameters * @param pagingParameter the paging parameters * @return a list of Task Comments - * @title Get a list of all Task Comments for a specific Task */ @GetMapping(path = RestEndpoints.URL_TASK_COMMENTS) @Transactional(readOnly = true, rollbackFor = Exception.class) @@ -136,7 +136,7 @@ public ResponseEntity getTaskComments( * @throws NotAuthorizedOnTaskCommentException if the current user has not correct permissions */ @DeleteMapping(path = RestEndpoints.URL_TASK_COMMENT) - @Transactional(readOnly = true, rollbackFor = Exception.class) + @Transactional(rollbackFor = Exception.class) public ResponseEntity deleteTaskComment( @PathVariable String taskCommentId) throws TaskNotFoundException, @@ -167,7 +167,7 @@ public ResponseEntity deleteTaskComment( * @throws NotAuthorizedOnWorkbasketException if the current user has not correct permissions */ @PutMapping(path = RestEndpoints.URL_TASK_COMMENT) - @Transactional(readOnly = true, rollbackFor = Exception.class) + @Transactional(rollbackFor = Exception.class) public ResponseEntity updateTaskComment( @PathVariable String taskCommentId, @RequestBody TaskCommentRepresentationModel taskCommentRepresentationModel)