Skip to content

Commit 5592ec3

Browse files
revert some (no longer needed) changes
1 parent 6cd54df commit 5592ec3

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,11 @@ public class DefaultIndexOperations implements IndexOperations {
5050

5151
private static final String PARTIAL_FILTER_EXPRESSION_KEY = "partialFilterExpression";
5252

53-
protected final String collectionName;
54-
protected final QueryMapper mapper;
55-
protected final @Nullable Class<?> type;
53+
private final String collectionName;
54+
private final QueryMapper mapper;
55+
private final @Nullable Class<?> type;
5656

57-
protected final MongoOperations mongoOperations;
57+
private final MongoOperations mongoOperations;
5858

5959
/**
6060
* Creates a new {@link DefaultIndexOperations}.
@@ -132,7 +132,7 @@ public String ensureIndex(IndexDefinition indexDefinition) {
132132
}
133133

134134
@Nullable
135-
protected MongoPersistentEntity<?> lookupPersistentEntity(@Nullable Class<?> entityType, String collection) {
135+
private MongoPersistentEntity<?> lookupPersistentEntity(@Nullable Class<?> entityType, String collection) {
136136

137137
if (entityType != null) {
138138
return mapper.getMappingContext().getRequiredPersistentEntity(entityType);

0 commit comments

Comments
 (0)