refactor(HelloController): simplify collection conversion
This commit is contained in:
parent
b586d4e312
commit
5e7e8cd354
@ -94,6 +94,6 @@ public class HelloController {
|
||||
.findByMessage(message)
|
||||
.stream()
|
||||
.map(e -> this.helloMapper.mapToGetDto(e))
|
||||
.collect(Collectors.toList());
|
||||
.toList();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user