Skip to content

Commit bafc2be

Browse files
committed
Polishing.
Tweak Javadoc. See #3898 Original pull request: #3904.
1 parent 7146fb3 commit bafc2be

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

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

+3-2
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
import java.util.List;
2222

2323
import org.bson.Document;
24-
import org.springframework.data.mapping.PersistentEntity;
24+
2525
import org.springframework.data.mapping.PersistentPropertyPath;
2626
import org.springframework.data.mapping.context.MappingContext;
2727
import org.springframework.data.mongodb.core.aggregation.ExposedFields.DirectFieldReference;
@@ -142,12 +142,13 @@ public AggregationOperationContext continueOnMissingFieldReference() {
142142

143143
/**
144144
* This toggle allows the {@link AggregationOperationContext context} to use any given field name without checking for
145-
* its existence. Typically the {@link AggregationOperationContext} fails when referencing unknown fields, those that
145+
* its existence. Typically, the {@link AggregationOperationContext} fails when referencing unknown fields, those that
146146
* are not present in one of the previous stages or the input source, throughout the pipeline.
147147
*
148148
* @param type The domain type to map fields to.
149149
* @return a more relaxed {@link AggregationOperationContext}.
150150
* @since 3.1
151+
* @see RelaxedTypeBasedAggregationOperationContext
151152
*/
152153
public AggregationOperationContext continueOnMissingFieldReference(Class<?> type) {
153154
return new RelaxedTypeBasedAggregationOperationContext(type, mappingContext, mapper);

0 commit comments

Comments
 (0)