refactor: Fix yellow code smells #27

Merged
jank merged 11 commits from refactor/fix-yellow-code-smells into main 2024-10-02 08:43:02 +00:00
Showing only changes of commit b586d4e312 - Show all commits

refactor(HelloController): simplify collection conversion to list
Some checks failed
Quality Check / Tests (pull_request) Successful in 58s
Quality Check / Checkstyle Main (pull_request) Successful in 43s
Build PR / Build and analyze (pull_request) Successful in 1m53s
gitea-sonarqube-bot ERROR

Jan K9f 2024-10-02 10:14:43 +02:00
Signed by: jank
GPG key ID: B267751B8AE29EFE

View file

@ -58,7 +58,7 @@ public class HelloController {
.readAll()
.stream()
.map(e -> this.helloMapper.mapToGetDto(e))
.collect(Collectors.toList());
.toList();
}
@Operation(summary = "deletes a Hello by id")