File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
driver-legacy/src/main/com/mongodb/gridfs Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -73,7 +73,9 @@ public void save() {
73
73
* Verifies that the MD5 matches between the database and the local file. This should be called after transferring a file.
74
74
*
75
75
* @throws MongoException if there's a failure
76
+ * @deprecated there is no replacement for this method
76
77
*/
78
+ @ Deprecated
77
79
public void validate () {
78
80
if (fs == null ) {
79
81
throw new MongoException ("no fs" );
@@ -195,7 +197,9 @@ public void setMetaData(final DBObject metadata) {
195
197
* Gets the observed MD5 during transfer
196
198
*
197
199
* @return md5
200
+ * @deprecated there is no replacement for this method
198
201
*/
202
+ @ Deprecated
199
203
public String getMD5 () {
200
204
return md5 ;
201
205
}
You can’t perform that action at this time.
0 commit comments