From 24401e54fc4110afca97ba9937cdb185ab407189 Mon Sep 17 00:00:00 2001 From: "stefan.pingel@consensys.net" Date: Tue, 19 Nov 2024 16:24:11 +1000 Subject: [PATCH] spotless Signed-off-by: stefan.pingel@consensys.net --- .../eth/manager/peertask/task/GetReceiptsFromPeerTask.java | 1 - .../eth/sync/tasks/CompleteBlocksWithPeerTaskTest.java | 5 +---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/ethereum/eth/src/main/java/org/hyperledger/besu/ethereum/eth/manager/peertask/task/GetReceiptsFromPeerTask.java b/ethereum/eth/src/main/java/org/hyperledger/besu/ethereum/eth/manager/peertask/task/GetReceiptsFromPeerTask.java index e770b66e72..7d4b5d585e 100644 --- a/ethereum/eth/src/main/java/org/hyperledger/besu/ethereum/eth/manager/peertask/task/GetReceiptsFromPeerTask.java +++ b/ethereum/eth/src/main/java/org/hyperledger/besu/ethereum/eth/manager/peertask/task/GetReceiptsFromPeerTask.java @@ -36,7 +36,6 @@ import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.function.Predicate; -import java.util.function.Supplier; public class GetReceiptsFromPeerTask implements PeerTask>> { diff --git a/ethereum/eth/src/test/java/org/hyperledger/besu/ethereum/eth/sync/tasks/CompleteBlocksWithPeerTaskTest.java b/ethereum/eth/src/test/java/org/hyperledger/besu/ethereum/eth/sync/tasks/CompleteBlocksWithPeerTaskTest.java index a396228a4f..2853fa47d2 100644 --- a/ethereum/eth/src/test/java/org/hyperledger/besu/ethereum/eth/sync/tasks/CompleteBlocksWithPeerTaskTest.java +++ b/ethereum/eth/src/test/java/org/hyperledger/besu/ethereum/eth/sync/tasks/CompleteBlocksWithPeerTaskTest.java @@ -229,10 +229,7 @@ public class CompleteBlocksWithPeerTaskTest { final Block block1 = new Block( header1, - new BlockBody( - Collections.emptyList(), - Collections.emptyList(), - Optional.empty())); + new BlockBody(Collections.emptyList(), Collections.emptyList(), Optional.empty())); final Block block2 = new Block( header2,