Skip to content

Commit 5bfa82d

Browse files
committed
Javadoc fixes
(cherry picked from commit 9bb72e8)
1 parent 97148ce commit 5bfa82d

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

spring-web/src/main/java/org/springframework/http/converter/json/AbstractJackson2HttpMessageConverter.java

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,6 @@ protected void writeInternal(Object object, HttpOutputMessage outputMessage)
245245
* @param object the object to write to the output message.
246246
*/
247247
protected void writePrefix(JsonGenerator generator, Object object) throws IOException {
248-
249248
}
250249

251250
/**
@@ -254,7 +253,6 @@ protected void writePrefix(JsonGenerator generator, Object object) throws IOExce
254253
* @param object the object to write to the output message.
255254
*/
256255
protected void writeSuffix(JsonGenerator generator, Object object) throws IOException {
257-
258256
}
259257

260258
/**
@@ -271,11 +269,10 @@ protected void writeSuffix(JsonGenerator generator, Object object) throws IOExce
271269
* }
272270
* }
273271
* </pre>
274-
* @param type the type to return the java type for
272+
* @param type the generic type to return the Jackson JavaType for
275273
* @param contextClass a context class for the target type, for example a class
276-
* in which the target type appears in a method signature, can be {@code null}
277-
* signature, can be {@code null}
278-
* @return the java type
274+
* in which the target type appears in a method signature (can be {@code null})
275+
* @return the Jackson JavaType
279276
*/
280277
protected JavaType getJavaType(Type type, Class<?> contextClass) {
281278
return this.objectMapper.getTypeFactory().constructType(type, contextClass);

0 commit comments

Comments
 (0)