Skip to content
This repository has been archived by the owner on Dec 14, 2023. It is now read-only.

Commit

Permalink
Fix error message for getOffset
Browse files Browse the repository at this point in the history
Signed-off-by: xiaolongran <[email protected]>
  • Loading branch information
wolfstudy committed Jul 2, 2021
1 parent 136b518 commit 1082884
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public static final long getOffset(long ledgerId, long entryId, long partitionId

Preconditions.checkArgument(ledgerId <= MAX_LEDGER_ID, "ledgerId has overflow in rop.");
Preconditions.checkArgument(entryId <= MAX_ENTRY_ID, "entryId has overflow in rop.");
Preconditions.checkArgument(partitionId <= MAX_PARTITION_ID, "entryId has overflow in rop.");
Preconditions.checkArgument(partitionId <= MAX_PARTITION_ID, "partitionId has overflow in rop.");
ledgerId = ledgerId + 1L;
entryId = entryId + 1L;
partitionId = partitionId + 1;
Expand Down

0 comments on commit 1082884

Please sign in to comment.