Skip to content

Commit 6e7114c

Browse files
fmbenhassineapp
authored and
app
committed
Remove unused imports
1 parent d988853 commit 6e7114c

File tree

8 files changed

+6
-19
lines changed

8 files changed

+6
-19
lines changed

spring-batch-core/src/main/java/org/springframework/batch/core/JobParameters.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@
2626
import java.util.HashMap;
2727
import java.util.List;
2828
import java.util.Map;
29-
import java.util.Objects;
30-
import java.util.Properties;
3129

3230
import org.springframework.lang.Nullable;
3331
import org.springframework.util.Assert;

spring-batch-infrastructure/src/main/java/org/springframework/batch/item/data/MongoItemWriter.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2023 the original author or authors.
2+
* Copyright 2012-2024 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.
@@ -34,7 +34,6 @@
3434
import org.springframework.transaction.support.TransactionSynchronizationManager;
3535
import org.springframework.util.Assert;
3636
import org.springframework.util.ClassUtils;
37-
import org.springframework.util.CollectionUtils;
3837
import org.springframework.util.StringUtils;
3938

4039
/**

spring-batch-infrastructure/src/main/java/org/springframework/batch/item/data/Neo4jItemWriter.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2023 the original author or authors.
2+
* Copyright 2012-2024 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.
@@ -25,7 +25,6 @@
2525
import org.springframework.batch.item.ItemWriter;
2626
import org.springframework.beans.factory.InitializingBean;
2727
import org.springframework.util.Assert;
28-
import org.springframework.util.CollectionUtils;
2928

3029
/**
3130
* <p>

spring-batch-infrastructure/src/main/java/org/springframework/batch/item/data/RepositoryItemWriter.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2023 the original author or authors.
2+
* Copyright 2012-2024 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.InitializingBean;
2828
import org.springframework.data.repository.CrudRepository;
2929
import org.springframework.util.Assert;
30-
import org.springframework.util.CollectionUtils;
3130
import org.springframework.util.MethodInvoker;
3231
import org.springframework.util.StringUtils;
3332

spring-batch-infrastructure/src/main/java/org/springframework/batch/item/file/DefaultBufferedReaderFactory.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-2024 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.
@@ -18,7 +18,6 @@
1818
import java.io.BufferedReader;
1919
import java.io.IOException;
2020
import java.io.InputStreamReader;
21-
import java.io.UnsupportedEncodingException;
2221

2322
import org.springframework.core.io.Resource;
2423

spring-batch-infrastructure/src/main/java/org/springframework/batch/item/support/SingleItemPeekableItemReader.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-2024 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.
@@ -22,9 +22,7 @@
2222
import org.springframework.batch.item.ItemStream;
2323
import org.springframework.batch.item.ItemStreamException;
2424
import org.springframework.batch.item.ItemStreamReader;
25-
import org.springframework.batch.item.ParseException;
2625
import org.springframework.batch.item.PeekableItemReader;
27-
import org.springframework.batch.item.UnexpectedInputException;
2826
import org.springframework.lang.Nullable;
2927

3028
/**

spring-batch-infrastructure/src/main/java/org/springframework/batch/item/support/SynchronizedItemStreamReader.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2015-2023 the original author or authors.
2+
* Copyright 2015-2024 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,9 +20,6 @@
2020

2121
import org.springframework.batch.item.ExecutionContext;
2222
import org.springframework.batch.item.ItemStreamReader;
23-
import org.springframework.batch.item.NonTransientResourceException;
24-
import org.springframework.batch.item.ParseException;
25-
import org.springframework.batch.item.UnexpectedInputException;
2623
import org.springframework.beans.factory.InitializingBean;
2724
import org.springframework.lang.Nullable;
2825
import org.springframework.util.Assert;

spring-batch-test/src/main/java/org/springframework/batch/test/MetaDataInstanceFactory.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,7 @@
2121
import org.springframework.batch.core.JobInstance;
2222
import org.springframework.batch.core.JobParameters;
2323
import org.springframework.batch.core.StepExecution;
24-
import org.springframework.batch.core.converter.DefaultJobParametersConverter;
2524
import org.springframework.batch.item.ExecutionContext;
26-
import org.springframework.batch.support.PropertiesConverter;
2725

2826
/**
2927
* Convenience methods for creating test instances of {@link JobExecution},

0 commit comments

Comments
 (0)