Fix documentation typo in BasicQuery.

Closes #4169
Original pull request: #4170.
This commit is contained in:
Seungwoo Jo
2022-09-19 00:06:34 +09:00
committed by Mark Paluch
parent a63db5586c
commit e9818fe11a
2 changed files with 8 additions and 8 deletions

View File

@@ -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;

View File

@@ -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) {