Skip to content

Commit

Permalink
fix indent
Browse files Browse the repository at this point in the history
  • Loading branch information
NOZAIS Julien committed Jan 3, 2025
1 parent 0e1bdb9 commit fbb6ddd
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions api/src/main/java/io/kafbat/ui/service/TopicsService.java
Original file line number Diff line number Diff line change
Expand Up @@ -144,13 +144,13 @@ private Mono<InternalPartitionsOffsets> getPartitionOffsets(Map<String, TopicDes
return ac.listOffsets(descriptions, OffsetSpec.earliest())
.zipWith(ac.listOffsets(descriptions, OffsetSpec.latest()),
(earliest, latest) ->
Sets.intersection(earliest.keySet(), latest.keySet())
.stream()
.map(tp ->
Map.entry(tp,
new InternalPartitionsOffsets.Offsets(
earliest.get(tp), latest.get(tp))))
.collect(toMap(Map.Entry::getKey, Map.Entry::getValue)))
Sets.intersection(earliest.keySet(), latest.keySet())
.stream()
.map(tp ->
Map.entry(tp,
new InternalPartitionsOffsets.Offsets(
earliest.get(tp), latest.get(tp))))
.collect(toMap(Map.Entry::getKey, Map.Entry::getValue)))
.map(InternalPartitionsOffsets::new);
}

Expand Down

0 comments on commit fbb6ddd

Please sign in to comment.