Skip to content

Commit e3c4886

Browse files
committed
Deprecated Mongo.getVersion() method
JAVA-1606
1 parent 248f896 commit e3c4886

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/com/mongodb/Mongo.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,9 @@ public void dropDatabase(String dbName){
402402
* Gets this driver version.
403403
*
404404
* @return the full version string of this driver, e.g. "2.8.0"
405+
* @deprecated There is no replacement for this method.
405406
*/
407+
@Deprecated
406408
public String getVersion(){
407409
return FULL_VERSION;
408410
}

0 commit comments

Comments
 (0)