@@ -56,7 +56,9 @@ public final class GridFSFile {
56
56
* @param uploadDate the upload date of the file
57
57
* @param md5 the hash of the files contents
58
58
* @param metadata the optional metadata for the file
59
+ * @deprecated there is no replacement for this constructor
59
60
*/
61
+ @ Deprecated
60
62
public GridFSFile (final BsonValue id , final String filename , final long length , final int chunkSize , final Date uploadDate ,
61
63
@ Nullable final String md5 , final Document metadata ) {
62
64
this (id , filename , length , chunkSize , uploadDate , md5 , metadata , null );
@@ -75,7 +77,9 @@ public GridFSFile(final BsonValue id, final String filename, final long length,
75
77
* @param md5 the hash of the files contents
76
78
* @param metadata the optional metadata for the file
77
79
* @param extraElements any extra data stored in the document
80
+ * @deprecated there is no replacement for this constructor
78
81
*/
82
+ @ Deprecated
79
83
public GridFSFile (final BsonValue id , final String filename , final long length , final int chunkSize , final Date uploadDate ,
80
84
@ Nullable final String md5 , @ Nullable final Document metadata , @ Nullable final Document extraElements ) {
81
85
this .id = notNull ("id" , id );
0 commit comments