Deprecate ItemStreamSupport in favor of using default methods in the ItemStream interface

This commit is contained in:
Mahmoud Ben Hassine
2022-10-12 18:55:46 +02:00
parent 668c614ed9
commit 157d7a3a20

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2006-2013 the original author or authors.
* Copyright 2006-2022 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -22,8 +22,12 @@ import org.springframework.batch.item.util.ExecutionContextUserSupport;
*
* @author Dave Syer
* @author Dean de Bree
* @author Mahmoud Ben Hassine
* @deprecated since 5.0 in favor of using default methods in the {@link ItemStream}
* interface. Scheduled for removal in 5.2.
*
*/
@Deprecated(since = "5.0", forRemoval = true)
public abstract class ItemStreamSupport implements ItemStream {
private final ExecutionContextUserSupport executionContextUserSupport = new ExecutionContextUserSupport();