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:
@@ -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}.
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user