Skip to content

Commit 471a77c

Browse files
Polishing.
Make sure type used in protected method is visible in defined scope. See: #4846
1 parent b43c09d commit 471a77c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/MongoTemplate.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -3261,7 +3261,7 @@ public Document doInCollection(MongoCollection<Document> collection) throws Mong
32613261
* @author Thomas Darimont
32623262
*/
32633263

3264-
interface DocumentCallback<T> {
3264+
protected interface DocumentCallback<T> {
32653265

32663266
T doWith(Document object);
32673267
}

0 commit comments

Comments
 (0)