Javadoc fixes

This commit is contained in:
Juergen Hoeller
2015-11-27 13:19:39 +01:00
parent 5e16834751
commit 9bb72e8386

View File

@@ -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
* }
* }
* </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);