commit | 83e8f5e28a6d3ac0d2326bc9222fae53cd5ea135 | [log] [tgz] |
---|---|---|
author | Tatu Saloranta <tatu.saloranta@iki.fi> | Tue Feb 05 20:10:57 2019 -0800 |
committer | Tatu Saloranta <tatu.saloranta@iki.fi> | Tue Feb 05 20:10:57 2019 -0800 |
tree | 1c017907e6253cb35c1762ba9f1d31f790d916bb | |
parent | 729e1f31621e67c3dee31eb6006636298ccb9ef8 [diff] |
fix a problem with preceding commit
diff --git a/src/main/java/com/fasterxml/jackson/databind/ser/impl/WritableObjectId.java b/src/main/java/com/fasterxml/jackson/databind/ser/impl/WritableObjectId.java index 5975930..af891b3 100644 --- a/src/main/java/com/fasterxml/jackson/databind/ser/impl/WritableObjectId.java +++ b/src/main/java/com/fasterxml/jackson/databind/ser/impl/WritableObjectId.java
@@ -68,7 +68,7 @@ // we should even call is an open question, but for now do pass to let generator // decide what to do, if anything. String idStr = (id == null) ? null : String.valueOf(id); - gen.writeObjectId(String.valueOf(idStr)); + gen.writeObjectId(idStr); return; }