From 6ac3c73234469b32baa705af5ae6ca180e6cb05b Mon Sep 17 00:00:00 2001 From: leif stawnyczy Date: Mon, 25 Mar 2024 10:37:19 -0400 Subject: [PATCH] spotless --- .../main/java/ca/uhn/fhir/batch2/config/BaseBatch2Config.java | 1 - .../ca/uhn/fhir/batch2/maintenance/JobInstanceProcessor.java | 2 +- .../uhn/fhir/batch2/maintenance/JobMaintenanceServiceImpl.java | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/hapi-fhir-storage-batch2/src/main/java/ca/uhn/fhir/batch2/config/BaseBatch2Config.java b/hapi-fhir-storage-batch2/src/main/java/ca/uhn/fhir/batch2/config/BaseBatch2Config.java index 2686bd5a44e..d2bff951f83 100644 --- a/hapi-fhir-storage-batch2/src/main/java/ca/uhn/fhir/batch2/config/BaseBatch2Config.java +++ b/hapi-fhir-storage-batch2/src/main/java/ca/uhn/fhir/batch2/config/BaseBatch2Config.java @@ -41,7 +41,6 @@ import ca.uhn.fhir.jpa.subscription.channel.api.IChannelReceiver; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; -import org.springframework.transaction.PlatformTransactionManager; @Configuration public abstract class BaseBatch2Config { diff --git a/hapi-fhir-storage-batch2/src/main/java/ca/uhn/fhir/batch2/maintenance/JobInstanceProcessor.java b/hapi-fhir-storage-batch2/src/main/java/ca/uhn/fhir/batch2/maintenance/JobInstanceProcessor.java index 246c27c7f97..81a12f7c2d6 100644 --- a/hapi-fhir-storage-batch2/src/main/java/ca/uhn/fhir/batch2/maintenance/JobInstanceProcessor.java +++ b/hapi-fhir-storage-batch2/src/main/java/ca/uhn/fhir/batch2/maintenance/JobInstanceProcessor.java @@ -286,7 +286,7 @@ public class JobInstanceProcessor { return new PagingIterator<>(WORK_CHUNK_METADATA_BATCH_SIZE, (index, batchsize, consumer) -> { Pageable pageable = Pageable.ofSize(batchsize).withPage(index); Page results = myJobPersistence.fetchAllWorkChunkMetadataForJobInStates( - pageable, myInstanceId, Set.of(WorkChunkStatusEnum.READY)); + pageable, myInstanceId, Set.of(WorkChunkStatusEnum.READY)); for (WorkChunkMetadata metadata : results) { consumer.accept(metadata); } diff --git a/hapi-fhir-storage-batch2/src/main/java/ca/uhn/fhir/batch2/maintenance/JobMaintenanceServiceImpl.java b/hapi-fhir-storage-batch2/src/main/java/ca/uhn/fhir/batch2/maintenance/JobMaintenanceServiceImpl.java index 39c1caa7d03..cf2ec48aafe 100644 --- a/hapi-fhir-storage-batch2/src/main/java/ca/uhn/fhir/batch2/maintenance/JobMaintenanceServiceImpl.java +++ b/hapi-fhir-storage-batch2/src/main/java/ca/uhn/fhir/batch2/maintenance/JobMaintenanceServiceImpl.java @@ -40,7 +40,6 @@ import org.apache.commons.lang3.time.DateUtils; import org.quartz.JobExecutionContext; import org.slf4j.Logger; import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.transaction.PlatformTransactionManager; import java.util.HashSet; import java.util.List;