Deprecate obsolete ConcurrentExecutorAdapter for removal in 6.1

Closes gh-29865
This commit is contained in:
Sam Brannen 2023-01-20 14:20:18 +01:00
parent 58872c79ee
commit fa1ef1dc85
1 changed files with 3 additions and 0 deletions

View File

@ -34,7 +34,10 @@ import org.springframework.util.Assert;
* @since 2.5
* @see java.util.concurrent.Executor
* @see org.springframework.core.task.TaskExecutor
* @deprecated {@code ConcurrentExecutorAdapter} is obsolete and will be removed
* in Spring Framework 6.1
*/
@Deprecated(since = "6.0.5", forRemoval = true)
public class ConcurrentExecutorAdapter implements Executor {
private final TaskExecutor taskExecutor;