refactor(HelloController): simplify collection conversion
This commit is contained in:
parent
b586d4e312
commit
5e7e8cd354
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue