refactor(HelloController): simplify collection conversion to list
This commit is contained in:
parent
2268c37761
commit
b586d4e312
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user