diff --git a/src/main/java/de/szut/lf8_starter/hello/HelloController.java b/src/main/java/de/szut/lf8_starter/hello/HelloController.java index c846477..5755a9e 100644 --- a/src/main/java/de/szut/lf8_starter/hello/HelloController.java +++ b/src/main/java/de/szut/lf8_starter/hello/HelloController.java @@ -94,6 +94,6 @@ public class HelloController { .findByMessage(message) .stream() .map(e -> this.helloMapper.mapToGetDto(e)) - .collect(Collectors.toList()); + .toList(); } }