Skip to content

Commit 8ffad1b

Browse files
committed
Deprecate unused APIs
1 parent 2a4fcb7 commit 8ffad1b

File tree

4 files changed

+12
-8
lines changed

4 files changed

+12
-8
lines changed

spring-batch-core/src/main/java/org/springframework/batch/core/step/StepLocatorStepFactoryBean.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2013 the original author or authors.
2+
* Copyright 2012-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.
@@ -24,8 +24,9 @@
2424
* point.
2525
*
2626
* @author Dave Syer
27-
*
27+
* @deprecated since 6.0 with no replacement. Scheduled for removal in 7.0.
2828
*/
29+
@Deprecated(since = "6.0", forRemoval = true)
2930
public class StepLocatorStepFactoryBean implements FactoryBean<Step> {
3031

3132
public StepLocator stepLocator;

spring-batch-core/src/main/java/org/springframework/batch/core/step/item/ForceRollbackForWriteSkipException.java

Lines changed: 3 additions & 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.
@@ -22,8 +22,9 @@
2222
*
2323
* @author Dave Syer
2424
* @author Mahmoud Ben Hassine
25-
*
25+
* @deprecated since 6.0 with no replacement. Scheduled for removal in 7.0.
2626
*/
27+
@Deprecated(since = "6.0", forRemoval = true)
2728
public class ForceRollbackForWriteSkipException extends RuntimeException {
2829

2930
public ForceRollbackForWriteSkipException(String msg, Throwable cause) {

spring-batch-core/src/main/java/org/springframework/batch/core/step/item/SkipOverflowException.java

Lines changed: 3 additions & 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.
@@ -21,8 +21,9 @@
2121
/**
2222
* @author Dave Syer
2323
* @author Mahmoud Ben Hassine
24-
*
24+
* @deprecated since 6.0 with no replacement. Scheduled for removal in 7.0.
2525
*/
26+
@Deprecated(since = "6.0", forRemoval = true)
2627
public class SkipOverflowException extends SkipException {
2728

2829
/**

spring-batch-infrastructure/src/main/java/org/springframework/batch/support/transaction/TransactionAwareProxyFactory.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2006-2021 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.
@@ -58,8 +58,9 @@
5858
* </p>
5959
*
6060
* @author Dave Syer
61-
*
61+
* @deprecated since 6.0 with no replacement. Scheduled for removal in 6.2 or later.
6262
*/
63+
@Deprecated(since = "6.0", forRemoval = true)
6364
public class TransactionAwareProxyFactory<T> {
6465

6566
private final T target;

0 commit comments

Comments
 (0)