Javadoc fixes

(cherry picked from commit 9bb72e8)
This commit is contained in:
Juergen Hoeller
2015-11-27 13:19:39 +01:00
parent 97148ce889
commit 5bfa82db12

View File

@@ -245,7 +245,6 @@ public abstract class AbstractJackson2HttpMessageConverter extends AbstractHttpM
* @param object the object to write to the output message.
*/
protected void writePrefix(JsonGenerator generator, Object object) throws IOException {
}
/**
@@ -254,7 +253,6 @@ public abstract class AbstractJackson2HttpMessageConverter extends AbstractHttpM
* @param object the object to write to the output message.
*/
protected void writeSuffix(JsonGenerator generator, Object object) throws IOException {
}
/**
@@ -271,11 +269,10 @@ public abstract class AbstractJackson2HttpMessageConverter extends AbstractHttpM
* }
* }
* </pre>
* @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);