Skip to content

Commit 0d8104b

Browse files
author
Ryan
committed
added description to copy.
1 parent 4e6defb commit 0d8104b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/com/mongodb/MongoOptions.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ public void reset(){
4747
dbDecoderFactory = DefaultDBDecoder.FACTORY;
4848
dbEncoderFactory = DefaultDBEncoder.FACTORY;
4949
socketFactory = SocketFactory.getDefault();
50+
description = null;
5051
}
5152

5253
public MongoOptions copy() {
@@ -68,6 +69,7 @@ public MongoOptions copy() {
6869
m.dbDecoderFactory = dbDecoderFactory;
6970
m.dbEncoderFactory = dbEncoderFactory;
7071
m.socketFactory = socketFactory;
72+
m.description = description;
7173
return m;
7274
}
7375

0 commit comments

Comments
 (0)