From 9e25d312cb869c9a25d33ad939872ffdc123c68f Mon Sep 17 00:00:00 2001 From: Xiangying Meng <55571188+liangyepianzhou@users.noreply.github.com> Date: Sat, 31 Aug 2024 09:14:15 +0800 Subject: [PATCH] chore: fix code style and typo in DataIntegrityCheckImpl (#4495) Co-authored-by: xiangying --- .../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 139d07f3d03..70c6e23882a 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 @@ private CompletableFuture processPreBoot(long ledgerId, LedgerMetadata met 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 @@ CompletableFuture> checkAndRecoverLedgers(Map recoverLedgerIfInLimbo(long ledgerId, LedgerMetadata origMetadata,