Add missing Nullable annotation.
For one of constructor arguments of the AggregationOptions the Nullable annotation for the cursor argument is missing. Closes: #4256
This commit is contained in:
committed by
Christoph Strobl
parent
26a8fafd03
commit
c9dfd60f0f
@@ -34,6 +34,7 @@ import org.springframework.util.Assert;
|
|||||||
* @author Christoph Strobl
|
* @author Christoph Strobl
|
||||||
* @author Mark Paluch
|
* @author Mark Paluch
|
||||||
* @author Yadhukrishna S Pai
|
* @author Yadhukrishna S Pai
|
||||||
|
* @author Soumya Prakash Behera
|
||||||
* @see Aggregation#withOptions(AggregationOptions)
|
* @see Aggregation#withOptions(AggregationOptions)
|
||||||
* @see TypedAggregation#withOptions(AggregationOptions)
|
* @see TypedAggregation#withOptions(AggregationOptions)
|
||||||
* @since 1.6
|
* @since 1.6
|
||||||
@@ -66,7 +67,7 @@ public class AggregationOptions {
|
|||||||
* @param explain whether to get the execution plan for the aggregation instead of the actual results.
|
* @param explain whether to get the execution plan for the aggregation instead of the actual results.
|
||||||
* @param cursor can be {@literal null}, used to pass additional options to the aggregation.
|
* @param cursor can be {@literal null}, used to pass additional options to the aggregation.
|
||||||
*/
|
*/
|
||||||
public AggregationOptions(boolean allowDiskUse, boolean explain, Document cursor) {
|
public AggregationOptions(boolean allowDiskUse, boolean explain, @Nullable Document cursor) {
|
||||||
this(allowDiskUse, explain, cursor, null);
|
this(allowDiskUse, explain, cursor, null);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user