diff --git a/src/main/java/org/cardanofoundation/explorer/rewards/schedule/service/PoolInfoDataService.java b/src/main/java/org/cardanofoundation/explorer/rewards/schedule/service/PoolInfoDataService.java index 2d67d76..c7bf04f 100644 --- a/src/main/java/org/cardanofoundation/explorer/rewards/schedule/service/PoolInfoDataService.java +++ b/src/main/java/org/cardanofoundation/explorer/rewards/schedule/service/PoolInfoDataService.java @@ -50,7 +50,7 @@ public CompletableFuture fetchData(List poolIds) { int currentEpoch = epochService.getCurrentEpoch(); var dataFromKoios = getPoolInfoList(poolIds); - if(CollectionUtils.isEmpty(dataFromKoios)) { + if (CollectionUtils.isEmpty(dataFromKoios)) { return CompletableFuture.completedFuture(Boolean.TRUE); } diff --git a/src/main/java/org/cardanofoundation/explorer/rewards/service/impl/PoolHistoryFetchingServiceImpl.java b/src/main/java/org/cardanofoundation/explorer/rewards/service/impl/PoolHistoryFetchingServiceImpl.java index 977f965..c1be8a8 100644 --- a/src/main/java/org/cardanofoundation/explorer/rewards/service/impl/PoolHistoryFetchingServiceImpl.java +++ b/src/main/java/org/cardanofoundation/explorer/rewards/service/impl/PoolHistoryFetchingServiceImpl.java @@ -61,7 +61,7 @@ public CompletableFuture fetchData(String poolId) { var dataFromKoios = getPoolHistoryList(poolId); var poolHistoryCheckpoint = poolHistoryCheckpointRepository.findByView(poolId); - if(CollectionUtils.isEmpty(dataFromKoios)) { + if (CollectionUtils.isEmpty(dataFromKoios)) { return CompletableFuture.completedFuture(Boolean.TRUE); }