revert toList changes in DescribeLogDirsMapper.java
This commit is contained in:
parent
605992dbbf
commit
0eae9242c3
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ public class DescribeLogDirsMapper {
|
|||
mapEntry -> mapEntry.getValue().entrySet().stream()
|
||||
.map(e -> toBrokerLogDirs(mapEntry.getKey(), e.getKey(), e.getValue()))
|
||||
.toList()
|
||||
).flatMap(Collection::stream).toList();
|
||||
).flatMap(Collection::stream).collect(Collectors.toList());
|
||||
}
|
||||
|
||||
private BrokersLogdirsDTO toBrokerLogDirs(Integer broker, String dirName,
|
||||
|
|
Loading…
Add table
Reference in a new issue