Skip to content

Commit af29e2a

Browse files
committed
minor nits suggested on PR review
Signed-off-by: Alfredo Gutierrez Grajeda <alfredo@hashgraph.com>
1 parent 082bf05 commit af29e2a

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

block-node/backfill/src/main/java/org/hiero/block/node/backfill/BackfillPlugin.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// SPDX-License-Identifier: Apache-2.0
22
package org.hiero.block.node.backfill;
33

4+
import static java.lang.System.Logger.Level.DEBUG;
45
import static java.lang.System.Logger.Level.INFO;
56
import static java.lang.System.Logger.Level.TRACE;
67

@@ -337,7 +338,7 @@ private void backfillGap(LongRange gap, BackfillType backfillType) throws Interr
337338
getLatch(backfillType).set(new CountDownLatch(batchOfBlocks.size()));
338339

339340
if (batchOfBlocks.isEmpty()) {
340-
LOGGER.log(TRACE, "No blocks fetched for gap {0}, skipping", chunk);
341+
LOGGER.log(DEBUG, "No blocks fetched for gap {0}, skipping", chunk);
341342
continue; // Skip empty batches
342343
}
343344

block-node/backfill/src/main/java/org/hiero/block/node/backfill/client/BlockNodeClient.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414

1515
public class BlockNodeClient {
1616
// Options definition for all gRPC services in the block node client
17-
private record Options(Optional<String> authority, String contentType) implements ServiceInterface.RequestOptions {}
17+
private static record Options(Optional<String> authority, String contentType)
18+
implements ServiceInterface.RequestOptions {}
1819

1920
private static final BlockNodeClient.Options OPTIONS =
2021
new BlockNodeClient.Options(Optional.empty(), ServiceInterface.RequestOptions.APPLICATION_GRPC);

0 commit comments

Comments
 (0)