From 43e2851e0c4a21712bcaca1ab0703dbd0d907860 Mon Sep 17 00:00:00 2001 From: Tatu Saloranta Date: Mon, 28 Dec 2015 16:45:27 -0800 Subject: [PATCH] ... --- src/main/java/com/fasterxml/jackson/databind/JsonNode.java | 2 +- .../com/fasterxml/jackson/databind/node/MissingNode.java | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/fasterxml/jackson/databind/JsonNode.java b/src/main/java/com/fasterxml/jackson/databind/JsonNode.java index c8123f25e1..e1c472be79 100644 --- a/src/main/java/com/fasterxml/jackson/databind/JsonNode.java +++ b/src/main/java/com/fasterxml/jackson/databind/JsonNode.java @@ -231,7 +231,7 @@ public final JsonNode at(String jsonPtrExpr) { } protected abstract JsonNode _at(JsonPointer ptr); - + /* /********************************************************** /* Public API, type introspection diff --git a/src/main/java/com/fasterxml/jackson/databind/node/MissingNode.java b/src/main/java/com/fasterxml/jackson/databind/node/MissingNode.java index 9bb55e608e..4e18fff2b2 100644 --- a/src/main/java/com/fasterxml/jackson/databind/node/MissingNode.java +++ b/src/main/java/com/fasterxml/jackson/databind/node/MissingNode.java @@ -30,7 +30,7 @@ private MissingNode() { } @SuppressWarnings("unchecked") @Override public T deepCopy() { return (T) this; } - + public static MissingNode getInstance() { return instance; } @Override @@ -68,11 +68,11 @@ public final void serialize(JsonGenerator jg, SerializerProvider provider) } @Override - public void serializeWithType(JsonGenerator jg, SerializerProvider provider, + public void serializeWithType(JsonGenerator g, SerializerProvider provider, TypeSerializer typeSer) throws IOException, JsonProcessingException { - jg.writeNull(); + g.writeNull(); } @Override