diff --git a/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/aggregation/SystemVariable.java b/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/aggregation/SystemVariable.java index 524d23926..15c5bf6e9 100644 --- a/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/aggregation/SystemVariable.java +++ b/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/aggregation/SystemVariable.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, @@ -28,14 +28,14 @@ public enum SystemVariable { /** * Variable for the current datetime. - * + * * @since 4.0 */ NOW, /** * Variable for the current timestamp. - * + * * @since 4.0 */ CLUSTER_TIME, @@ -57,27 +57,27 @@ public enum SystemVariable { /** * One of the allowed results of a {@literal $redact} expression - * + * * @since 4.0 */ DESCEND, /** * One of the allowed results of a {@literal $redact} expression - * + * * @since 4.0 */ PRUNE, /** * One of the allowed results of a {@literal $redact} expression - * + * * @since 4.0 */ KEEP, /** * A variable that stores the metadata results of an Atlas Search query. - * + * * @since 4.0 */ SEARCH_META; diff --git a/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/query/BasicQuery.java b/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/query/BasicQuery.java index c1aae4a41..1b2e0e8e4 100644 --- a/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/query/BasicQuery.java +++ b/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/query/BasicQuery.java @@ -73,7 +73,7 @@ public class BasicQuery extends Query { * * @param queryObject must not be {@literal null}. * @param fieldsObject must not be {@literal null}. - * @throws IllegalArgumentException when {@code sortObject} or {@code fieldsObject} is {@literal null}. + * @throws IllegalArgumentException when {@code queryObject} or {@code fieldsObject} is {@literal null}. */ public BasicQuery(Document queryObject, Document fieldsObject) {