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

This commit is contained in:
Jan Gleytenhoover 2024-10-02 10:14:43 +02:00
parent 2268c37761
commit b586d4e312
Signed by: jank
GPG Key ID: B267751B8AE29EFE

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