Skip to content

Commit fc5c458

Browse files
committed
Fixed link to MongoDB docs
JAVA-1722
1 parent f51ef5a commit fc5c458

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

bson/src/main/org/bson/BsonDocument.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -750,6 +750,7 @@ public String toJson() {
750750

751751
/**
752752
* Gets a JSON representation of this document using the given {@code JsonWriterSettings}.
753+
* @param settings the JSON writer settings
753754
* @return a JSON representation of this document
754755
*/
755756
public String toJson(final JsonWriterSettings settings) {

bson/src/main/org/bson/json/JsonMode.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,16 @@
1717
package org.bson.json;
1818

1919
/**
20-
* An enumeration of the supported output modes of {@code JSONWriter}. See
21-
* <a href="docs.mongodb.org/manual/reference/mongodb-extended-json/">MongoDB extended JSON documentation</a>.
20+
* An enumeration of the supported output modes of {@code JSONWriter}.
2221
*
2322
* @see JsonWriter
2423
* @since 3.0
24+
* @mongodb.driver.manual reference/mongodb-extended-json/ MongoDB Extended JSON
2525
*/
2626
public enum JsonMode {
2727

2828
/**
29-
* This mode produces output conforming to the <a href="http://www.json.org">JSON RFC spec</a>.
29+
* Strict mode representations of BSON types conform to the <a href="http://www.json.org">JSON RFC spec</a>.
3030
*/
3131
STRICT,
3232

0 commit comments

Comments
 (0)