Skip to content

Commit ecd0b8b

Browse files
committed
Remove unused imports
1 parent 4b2586d commit ecd0b8b

File tree

13 files changed

+5
-22
lines changed

13 files changed

+5
-22
lines changed

spring-batch-core/src/main/java/org/springframework/batch/core/job/parameters/JobParametersBuilder.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,7 @@
2323
import java.util.HashMap;
2424
import java.util.Map;
2525

26-
import org.springframework.batch.core.job.Job;
27-
import org.springframework.batch.core.job.JobExecution;
2826
import org.springframework.batch.core.job.JobInstance;
29-
import org.springframework.batch.core.repository.explore.JobExplorer;
3027
import org.springframework.lang.NonNull;
3128
import org.springframework.util.Assert;
3229

spring-batch-core/src/main/java/org/springframework/batch/core/launch/support/CommandLineJobRunner.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
import org.springframework.batch.core.job.JobExecution;
3636
import org.springframework.batch.core.job.JobInstance;
3737
import org.springframework.batch.core.job.parameters.JobParameters;
38-
import org.springframework.batch.core.job.parameters.JobParametersBuilder;
3938
import org.springframework.batch.core.job.parameters.JobParametersIncrementer;
4039
import org.springframework.batch.core.configuration.JobLocator;
4140
import org.springframework.batch.core.configuration.JobRegistry;

spring-batch-core/src/main/java/org/springframework/batch/core/launch/support/TaskExecutorJobOperator.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
package org.springframework.batch.core.launch.support;
1717

1818
import io.micrometer.core.instrument.MeterRegistry;
19-
import io.micrometer.core.instrument.Metrics;
2019

2120
import org.springframework.batch.core.configuration.JobRegistry;
2221
import org.springframework.batch.core.job.Job;

spring-batch-infrastructure/src/main/java/org/springframework/batch/item/adapter/PropertyExtractingDelegatingItemWriter.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2006-2023 the original author or authors.
2+
* Copyright 2006-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -16,8 +16,6 @@
1616

1717
package org.springframework.batch.item.adapter;
1818

19-
import java.util.Arrays;
20-
2119
import org.springframework.batch.item.Chunk;
2220
import org.springframework.batch.item.ItemWriter;
2321
import org.springframework.beans.BeanWrapper;

spring-batch-infrastructure/src/main/java/org/springframework/batch/item/file/transform/BeanWrapperFieldExtractor.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2006-2022 the original author or authors.
2+
* Copyright 2006-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -17,7 +17,6 @@
1717
package org.springframework.batch.item.file.transform;
1818

1919
import java.util.ArrayList;
20-
import java.util.Arrays;
2120
import java.util.List;
2221

2322
import org.springframework.beans.BeanWrapper;

spring-batch-infrastructure/src/test/java/org/springframework/batch/item/queue/builder/BlockingQueueItemWriterBuilderTests.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2024 the original author or authors.
2+
* Copyright 2024-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -20,7 +20,6 @@
2020

2121
import org.junit.jupiter.api.Test;
2222

23-
import org.springframework.batch.item.queue.BlockingQueueItemReader;
2423
import org.springframework.batch.item.queue.BlockingQueueItemWriter;
2524
import org.springframework.test.util.ReflectionTestUtils;
2625

spring-batch-infrastructure/src/test/java/org/springframework/batch/item/redis/RedisItemWriterIntegrationTests.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
import com.redis.testcontainers.RedisContainer;
2020
import org.junit.jupiter.api.AfterEach;
2121
import org.junit.jupiter.api.BeforeEach;
22-
import org.junit.jupiter.api.Test;
2322
import org.junit.jupiter.api.extension.ExtendWith;
2423
import org.junit.jupiter.params.ParameterizedTest;
2524
import org.junit.jupiter.params.provider.Arguments;

spring-batch-infrastructure/src/test/java/org/springframework/batch/jms/ExternalRetryInBatchTests.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2006-2023 the original author or authors.
2+
* Copyright 2006-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -27,7 +27,6 @@
2727
import org.springframework.beans.factory.annotation.Autowired;
2828
import org.springframework.jdbc.core.JdbcTemplate;
2929
import org.springframework.jms.core.JmsTemplate;
30-
import org.springframework.lang.Nullable;
3130
import org.springframework.retry.RecoveryCallback;
3231
import org.springframework.retry.RetryCallback;
3332
import org.springframework.retry.policy.SimpleRetryPolicy;

spring-batch-infrastructure/src/test/java/org/springframework/batch/retry/jms/ExternalRetryTests.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2006-2023 the original author or authors.
2+
* Copyright 2006-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -28,7 +28,6 @@
2828
import org.springframework.beans.factory.annotation.Autowired;
2929
import org.springframework.jdbc.core.JdbcTemplate;
3030
import org.springframework.jms.core.JmsTemplate;
31-
import org.springframework.lang.Nullable;
3231
import org.springframework.retry.RecoveryCallback;
3332
import org.springframework.retry.RetryCallback;
3433
import org.springframework.retry.support.DefaultRetryState;

spring-batch-integration/src/main/java/org/springframework/batch/integration/partition/StepExecutionRequestHandler.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
import org.springframework.batch.core.repository.JobRepository;
66
import org.springframework.batch.core.step.Step;
77
import org.springframework.batch.core.step.StepExecution;
8-
import org.springframework.batch.core.repository.explore.JobExplorer;
98
import org.springframework.batch.core.step.NoSuchStepException;
109
import org.springframework.batch.core.step.StepLocator;
1110
import org.springframework.integration.annotation.MessageEndpoint;

0 commit comments

Comments
 (0)