diff --git a/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/ItemStreamSupport.java b/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/ItemStreamSupport.java index 0dd663b20..89ee8ead1 100644 --- a/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/ItemStreamSupport.java +++ b/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/ItemStreamSupport.java @@ -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();