Skip to content

Commit 50f46bb

Browse files
committed
Doc: clarify deprecated top level metadata should be stored in the metadata document
JAVA-2517
1 parent 307d502 commit 50f46bb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

driver-core/src/main/com/mongodb/client/gridfs/model/GridFSFile.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ public Document getMetadata() {
168168
* All deprecated top level elements including any contentType or aliases data
169169
*
170170
* @return the extra elements document or null
171-
* @deprecated any extra information should be stored in the metadata document.
171+
* @deprecated any extra information should be stored in the metadata document instead.
172172
*/
173173
@Deprecated
174174
public Document getExtraElements() {
@@ -179,7 +179,7 @@ public Document getExtraElements() {
179179
* The content type of the file
180180
*
181181
* @return the content type of the file
182-
* @deprecated content type information stored in the metadata document.
182+
* @deprecated content type information should be stored the metadata document instead.
183183
*/
184184
@Deprecated
185185
public String getContentType() {
@@ -194,7 +194,7 @@ public String getContentType() {
194194
* The aliases for the file
195195
*
196196
* @return the aliases of the file
197-
* @deprecated aliases should be stored in the metadata document.
197+
* @deprecated any aliases should be stored in the metadata document instead.
198198
*/
199199
@Deprecated
200200
@SuppressWarnings("unchecked")

0 commit comments

Comments
 (0)