diff --git a/src/main/java/com/fasterxml/jackson/databind/deser/std/StdDeserializer.java b/src/main/java/com/fasterxml/jackson/databind/deser/std/StdDeserializer.java index f35a7d150e..d2a703bd96 100644 --- a/src/main/java/com/fasterxml/jackson/databind/deser/std/StdDeserializer.java +++ b/src/main/java/com/fasterxml/jackson/databind/deser/std/StdDeserializer.java @@ -1106,12 +1106,6 @@ protected Object _coerceIntegral(JsonParser p, DeserializationContext ctxt) thro return p.getNumberValue(); // should be optimal, whatever it is } - /* - /********************************************************************** - /* Helper methods for sub-classes, coercions, older (pre-2.12), deprecated - /********************************************************************** - */ - /** * Method to call when JSON `null` token is encountered. Note: only called when * this deserializer encounters it but NOT when reached via property @@ -1179,6 +1173,12 @@ protected final void _verifyNullForPrimitiveCoercion(DeserializationContext ctxt _reportFailedNullCoerce(ctxt, enable, feat, strDesc); } + /* + /********************************************************************** + /* Helper methods for sub-classes, coercions, older (pre-2.12), deprecated + /********************************************************************** + */ + @Deprecated // since 2.12 protected final void _verifyNullForScalarCoercion(DeserializationContext ctxt, String str) throws JsonMappingException {