Skip to content

Commit 85c8fe4

Browse files
author
Ryan
committed
added suppress deprecation warning.
1 parent c4588ad commit 85c8fe4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/com/mongodb/Mongo.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -539,6 +539,7 @@ public int getOptions(){
539539
* Helper method for setting up MongoOptions at instantiation
540540
* so that any options which affect this connection can be set.
541541
*/
542+
@SuppressWarnings("deprecation")
542543
void _applyMongoOptions() {
543544
if (_options.slaveOk) slaveOk();
544545
setWriteConcern( _options.getWriteConcern() );

0 commit comments

Comments
 (0)