From 23c0a07b93011876e9591087dc0b474734eba258 Mon Sep 17 00:00:00 2001 From: Christoph Strobl Date: Wed, 4 Sep 2019 12:57:33 +0200 Subject: [PATCH] DATAMONGO-2354 - Polishing. Same as with FindPublisherPreparer the CursorPreparer needs to be public because it is used in one of the protected methods of MongoTemplate. Original Pull Request: #784 --- .../org/springframework/data/mongodb/core/CursorPreparer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/CursorPreparer.java b/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/CursorPreparer.java index b0fbd09b5..83f2a0032 100644 --- a/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/CursorPreparer.java +++ b/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/CursorPreparer.java @@ -25,7 +25,7 @@ import com.mongodb.client.FindIterable; * @author Oliver Gierke * @author Christoph Strobl */ -interface CursorPreparer { +public interface CursorPreparer { /** * Prepare the given cursor (apply limits, skips and so on). Returns the prepared cursor.