refactor(HelloController): simplify collection conversion
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 1m52s
gitea-sonarqube-bot ERROR

This commit is contained in:
Jan Gleytenhoover 2024-10-02 10:19:56 +02:00
parent b586d4e312
commit 5e7e8cd354
Signed by: jank
GPG Key ID: B267751B8AE29EFE

@ -94,6 +94,6 @@ public class HelloController {
.findByMessage(message) .findByMessage(message)
.stream() .stream()
.map(e -> this.helloMapper.mapToGetDto(e)) .map(e -> this.helloMapper.mapToGetDto(e))
.collect(Collectors.toList()); .toList();
} }
} }