From 08d7f56eea982e0de2593cc6f2d1a71c681b6c47 Mon Sep 17 00:00:00 2001
From: Mahmoud Ben Hassine
Date: Tue, 15 Sep 2020 20:39:40 +0200
Subject: [PATCH] Deprecate AbstractNeo4jItemReader
Resolves #3777
---
.../batch/item/data/AbstractNeo4jItemReader.java | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/data/AbstractNeo4jItemReader.java b/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/data/AbstractNeo4jItemReader.java
index e3b5229c6..7eb3dd82d 100644
--- a/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/data/AbstractNeo4jItemReader.java
+++ b/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/data/AbstractNeo4jItemReader.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2012-2016 the original author or authors.
+ * Copyright 2012-2020 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.
@@ -55,8 +55,11 @@ import org.springframework.util.StringUtils;
*
*
* @author Michael Minella
+ * @author Mahmoud Ben Hassine
* @since 3.07
+ * @deprecated Extend {@link Neo4jItemReader} instead.
*/
+@Deprecated
public abstract class AbstractNeo4jItemReader extends
AbstractPaginatedDataItemReader implements InitializingBean {