diff --git a/spring-web/src/main/java/org/springframework/http/converter/json/AbstractJackson2HttpMessageConverter.java b/spring-web/src/main/java/org/springframework/http/converter/json/AbstractJackson2HttpMessageConverter.java index 85669247fda..d648d0d070c 100644 --- a/spring-web/src/main/java/org/springframework/http/converter/json/AbstractJackson2HttpMessageConverter.java +++ b/spring-web/src/main/java/org/springframework/http/converter/json/AbstractJackson2HttpMessageConverter.java @@ -278,7 +278,6 @@ public abstract class AbstractJackson2HttpMessageConverter extends AbstractGener * @param object the object to write to the output message. */ protected void writePrefix(JsonGenerator generator, Object object) throws IOException { - } /** @@ -287,7 +286,6 @@ public abstract class AbstractJackson2HttpMessageConverter extends AbstractGener * @param object the object to write to the output message. */ protected void writeSuffix(JsonGenerator generator, Object object) throws IOException { - } /** @@ -304,11 +302,10 @@ public abstract class AbstractJackson2HttpMessageConverter extends AbstractGener * } * } * - * @param type the type to return the java type for + * @param type the generic type to return the Jackson JavaType for * @param contextClass a context class for the target type, for example a class - * in which the target type appears in a method signature, can be {@code null} - * signature, can be {@code null} - * @return the java type + * in which the target type appears in a method signature (can be {@code null}) + * @return the Jackson JavaType */ protected JavaType getJavaType(Type type, Class contextClass) { return this.objectMapper.getTypeFactory().constructType(type, contextClass);