Skip to content

Commit

Permalink
Fix checkstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
BewareMyPower committed Oct 12, 2024
1 parent 3cce53d commit ed48100
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2338,7 +2338,8 @@ public String toString() {
try {
MessageMetadata metadata = Commands.parseMessageMetadata(entry.getDataBuffer());
final var batchSize = metadata.hasNumMessagesInBatch() ? metadata.getNumMessagesInBatch() : 0;
return new TopicCompactionService.MessagePosition(entry.getLedgerId(), entry.getEntryId(), batchSize - 1);
return new TopicCompactionService.MessagePosition(entry.getLedgerId(), entry.getEntryId(),
batchSize - 1);
} finally {
entry.release();
}
Expand Down

0 comments on commit ed48100

Please sign in to comment.