Skip to content

Commit e9818fe

Browse files
SPICYJOmp911de
authored andcommitted
Fix documentation typo in BasicQuery.
Closes #4169 Original pull request: #4170.
1 parent a63db55 commit e9818fe

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

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

+7-7
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* you may not use this file except in compliance with the License.
66
* You may obtain a copy of the License at
77
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
8+
* https://www.apache.org/licenses/LICENSE-2.0
99
*
1010
* Unless required by applicable law or agreed to in writing, software
1111
* distributed under the License is distributed on an "AS IS" BASIS,
@@ -28,14 +28,14 @@ public enum SystemVariable {
2828

2929
/**
3030
* Variable for the current datetime.
31-
*
31+
*
3232
* @since 4.0
3333
*/
3434
NOW,
3535

3636
/**
3737
* Variable for the current timestamp.
38-
*
38+
*
3939
* @since 4.0
4040
*/
4141
CLUSTER_TIME,
@@ -57,27 +57,27 @@ public enum SystemVariable {
5757

5858
/**
5959
* One of the allowed results of a {@literal $redact} expression
60-
*
60+
*
6161
* @since 4.0
6262
*/
6363
DESCEND,
6464

6565
/**
6666
* One of the allowed results of a {@literal $redact} expression
67-
*
67+
*
6868
* @since 4.0
6969
*/
7070
PRUNE,
7171
/**
7272
* One of the allowed results of a {@literal $redact} expression
73-
*
73+
*
7474
* @since 4.0
7575
*/
7676
KEEP,
7777

7878
/**
7979
* A variable that stores the metadata results of an Atlas Search query.
80-
*
80+
*
8181
* @since 4.0
8282
*/
8383
SEARCH_META;

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public BasicQuery(@Nullable String query, @Nullable String fields) {
7373
*
7474
* @param queryObject must not be {@literal null}.
7575
* @param fieldsObject must not be {@literal null}.
76-
* @throws IllegalArgumentException when {@code sortObject} or {@code fieldsObject} is {@literal null}.
76+
* @throws IllegalArgumentException when {@code queryObject} or {@code fieldsObject} is {@literal null}.
7777
*/
7878
public BasicQuery(Document queryObject, Document fieldsObject) {
7979

0 commit comments

Comments
 (0)