Skip to content

Commit 3b4b5af

Browse files
astikjyemin
authored andcommitted
Typo : missing quote in toString method's result
No bug here, jus a typo : a missing quote for the id value in the toString method.
1 parent b33b514 commit 3b4b5af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

driver-core/src/main/com/mongodb/DBRef.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ public int hashCode() {
123123
@Override
124124
public String toString() {
125125
return "{ "
126-
+ "\"$ref\" : \"" + collectionName + "\", \"$id\" : \"" + id + ""
126+
+ "\"$ref\" : \"" + collectionName + "\", \"$id\" : \"" + id + "\""
127127
+ (databaseName == null ? "" : ", \"$db\" : \"" + databaseName + "\"")
128128
+ " }";
129129
}

0 commit comments

Comments
 (0)