This is an automated email from the ASF dual-hosted git repository.
shoothzj pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/bookkeeper.git
The following commit(s) were added to refs/heads/master by this push:
new 9e25d312cb chore: fix code style and typo in DataIntegrityCheckImpl
(#4495)
9e25d312cb is described below
commit 9e25d312cb869c9a25d33ad939872ffdc123c68f
Author: Xiangying Meng <[email protected]>
AuthorDate: Sat Aug 31 09:14:15 2024 +0800
chore: fix code style and typo in DataIntegrityCheckImpl (#4495)
Co-authored-by: xiangying <[email protected]>
---
.../apache/bookkeeper/bookie/datainteg/DataIntegrityCheckImpl.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/bookkeeper-server/src/main/java/org/apache/bookkeeper/bookie/datainteg/DataIntegrityCheckImpl.java
b/bookkeeper-server/src/main/java/org/apache/bookkeeper/bookie/datainteg/DataIntegrityCheckImpl.java
index 139d07f3d0..70c6e23882 100644
---
a/bookkeeper-server/src/main/java/org/apache/bookkeeper/bookie/datainteg/DataIntegrityCheckImpl.java
+++
b/bookkeeper-server/src/main/java/org/apache/bookkeeper/bookie/datainteg/DataIntegrityCheckImpl.java
@@ -295,7 +295,7 @@ public class DataIntegrityCheckImpl implements
DataIntegrityCheck {
static class LedgerResult {
enum State {
MISSING, ERROR, OK
- };
+ }
static LedgerResult missing(long ledgerId) {
return new LedgerResult(State.MISSING, ledgerId, null, null);
@@ -399,7 +399,7 @@ public class DataIntegrityCheckImpl implements
DataIntegrityCheck {
/**
* Run ledger recovery on all a ledger if it has been marked as in limbo.
- * @return a maybe with the most up to date metadata we have for he ledger.
+ * @return a maybe with the most up-to-date metadata we have for the
ledger.
* If the ledger has been deleted, returns empty.
*/
Maybe<LedgerMetadata> recoverLedgerIfInLimbo(long ledgerId, LedgerMetadata
origMetadata,