Skip to content

Commit 87e69f3

Browse files
committed
Deprecate Classifier
This annotation is not used or introspected by production code.
1 parent 219fd7f commit 87e69f3

File tree

1 file changed

+4
-1
lines changed
  • spring-batch-infrastructure/src/main/java/org/springframework/batch/support/annotation

1 file changed

+4
-1
lines changed

spring-batch-infrastructure/src/main/java/org/springframework/batch/support/annotation/Classifier.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2006-2007 the original author or authors.
2+
* Copyright 2006-2022 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,12 +27,15 @@
2727
* only be used on non-void methods with one parameter.
2828
*
2929
* @author Dave Syer
30+
* @author Mahmoud Ben Hassine
31+
* @deprecated since 5.0 with no replacement. Scheduled for removal in 5.2.
3032
*
3133
*/
3234
@Target(ElementType.METHOD)
3335
@Retention(RetentionPolicy.RUNTIME)
3436
@Inherited
3537
@Documented
38+
@Deprecated(since = "5.0", forRemoval = true)
3639
public @interface Classifier {
3740

3841
}

0 commit comments

Comments
 (0)