From 60a78a617d57f4ce3bd0eb772fb254fb5a8c1b75 Mon Sep 17 00:00:00 2001 From: Oleg Zhurakousky Date: Mon, 17 Oct 2022 17:07:51 +0200 Subject: [PATCH] Checkstyle --- .../stream/converter/CompositeMessageConverterFactory.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/spring-cloud-stream/src/main/java/org/springframework/cloud/stream/converter/CompositeMessageConverterFactory.java b/core/spring-cloud-stream/src/main/java/org/springframework/cloud/stream/converter/CompositeMessageConverterFactory.java index 8ac0e1395..2e921558d 100644 --- a/core/spring-cloud-stream/src/main/java/org/springframework/cloud/stream/converter/CompositeMessageConverterFactory.java +++ b/core/spring-cloud-stream/src/main/java/org/springframework/cloud/stream/converter/CompositeMessageConverterFactory.java @@ -76,7 +76,7 @@ public class CompositeMessageConverterFactory { List customConverters, ObjectMapper objectMapper, JsonMapper jsonMapper) { this.objectMapper = objectMapper == null ? new ObjectMapper() : objectMapper; - this.jsonMapper = jsonMapper == null ? new JacksonMapper(objectMapper) : jsonMapper; + this.jsonMapper = jsonMapper == null ? new JacksonMapper(objectMapper) : jsonMapper; if (!CollectionUtils.isEmpty(customConverters)) { this.converters = new ArrayList<>(customConverters); } @@ -111,7 +111,7 @@ public class CompositeMessageConverterFactory { @Nullable Object conversionHint) { /* * We must revisit this. This is a copy from ApplicationMarshallingMessageConverter which derived from an older class etc. . . - * This attempts to use JSON conversion to convert something that is not json in the first place. + * This attempts to use JSON conversion to convert something that is not json in the first place. * For example Integer payload with application/json CT should actually fail since Integer is not a JSON. * This is !!!!wrong!!!!! and ONLY remains here for backward compatibility. */