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
This commit is contained in:
Christoph Strobl
2019-09-04 12:57:33 +02:00
parent 10116f7c93
commit 40d30a230d
2 changed files with 2 additions and 2 deletions

View File

@@ -31,7 +31,7 @@ import com.mongodb.client.MongoCollection;
* @author Oliver Gierke
* @author Christoph Strobl
*/
interface CursorPreparer extends ReadPreferenceAware {
public interface CursorPreparer extends ReadPreferenceAware {
/**
* Default {@link CursorPreparer} just passing on the given {@link FindIterable}.

View File

@@ -28,7 +28,7 @@ import com.mongodb.ReadPreference;
* @author Mark Paluch
* @since 2.2
*/
interface ReadPreferenceAware {
public interface ReadPreferenceAware {
/**
* @return {@literal true} if a {@link ReadPreference} is set.