From 2fac077f002527756270de83e8d33618fcdc4fc2 Mon Sep 17 00:00:00 2001 From: Ross Lawley Date: Mon, 20 Feb 2023 11:29:49 +0000 Subject: [PATCH] Javadoc - fix warnings --- .../main/com/mongodb/MongoUpdatedEncryptedFieldsException.java | 3 +++ .../main/com/mongodb/client/model/CreateCollectionOptions.java | 3 +++ 2 files changed, 6 insertions(+) diff --git a/driver-core/src/main/com/mongodb/MongoUpdatedEncryptedFieldsException.java b/driver-core/src/main/com/mongodb/MongoUpdatedEncryptedFieldsException.java index fbc55f76b05..1db6b4eba07 100644 --- a/driver-core/src/main/com/mongodb/MongoUpdatedEncryptedFieldsException.java +++ b/driver-core/src/main/com/mongodb/MongoUpdatedEncryptedFieldsException.java @@ -30,6 +30,9 @@ public final class MongoUpdatedEncryptedFieldsException extends MongoClientException { private static final long serialVersionUID = 1; + /** + * The encrypted fields + */ private final BsonDocument encryptedFields; /** diff --git a/driver-core/src/main/com/mongodb/client/model/CreateCollectionOptions.java b/driver-core/src/main/com/mongodb/client/model/CreateCollectionOptions.java index 9f432320001..18af4d57968 100644 --- a/driver-core/src/main/com/mongodb/client/model/CreateCollectionOptions.java +++ b/driver-core/src/main/com/mongodb/client/model/CreateCollectionOptions.java @@ -45,6 +45,9 @@ public class CreateCollectionOptions { private ClusteredIndexOptions clusteredIndexOptions; private Bson encryptedFields; + /** + * Construct a new instance + */ public CreateCollectionOptions() { }