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 0f665f2..c846477 100644 --- a/src/main/java/de/szut/lf8_starter/hello/HelloController.java +++ b/src/main/java/de/szut/lf8_starter/hello/HelloController.java @@ -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")