From 06a55b8bcd93734ddd9738675f54bf39d831e851 Mon Sep 17 00:00:00 2001 From: Can Bezmen Date: Fri, 8 May 2020 21:11:27 +0300 Subject: [PATCH] Review changes. --- .../cloud/openfeign/support/PageJacksonModule.java | 2 +- .../cloud/openfeign/support/SortJacksonModule.java | 4 ++-- .../cloud/openfeign/support/SortJsonComponent.java | 5 +++-- .../cloud/openfeign/support/SortJacksonModuleTests.java | 2 +- 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/spring-cloud-openfeign-core/src/main/java/org/springframework/cloud/openfeign/support/PageJacksonModule.java b/spring-cloud-openfeign-core/src/main/java/org/springframework/cloud/openfeign/support/PageJacksonModule.java index ac6c0c8c..72662101 100644 --- a/spring-cloud-openfeign-core/src/main/java/org/springframework/cloud/openfeign/support/PageJacksonModule.java +++ b/spring-cloud-openfeign-core/src/main/java/org/springframework/cloud/openfeign/support/PageJacksonModule.java @@ -33,7 +33,7 @@ import org.springframework.data.domain.Pageable; import org.springframework.data.domain.Sort; /** - * This jackson module provides support to deserialize spring {@link Page} objects. + * This Jackson module provides support to deserialize Spring {@link Page} objects. * * @author Pascal Büttiker */ diff --git a/spring-cloud-openfeign-core/src/main/java/org/springframework/cloud/openfeign/support/SortJacksonModule.java b/spring-cloud-openfeign-core/src/main/java/org/springframework/cloud/openfeign/support/SortJacksonModule.java index 3b2ce147..a9d57b1c 100644 --- a/spring-cloud-openfeign-core/src/main/java/org/springframework/cloud/openfeign/support/SortJacksonModule.java +++ b/spring-cloud-openfeign-core/src/main/java/org/springframework/cloud/openfeign/support/SortJacksonModule.java @@ -24,10 +24,10 @@ import com.fasterxml.jackson.databind.module.SimpleSerializers; import org.springframework.data.domain.Sort; /** - * This jackson module provides support to add serialize and deserialize for spring + * This Jackson module provides support for serializing and deserializing for Spring * {@link Sort} object. * - * @author canbezmen + * @author can bezmen */ public class SortJacksonModule extends Module { diff --git a/spring-cloud-openfeign-core/src/main/java/org/springframework/cloud/openfeign/support/SortJsonComponent.java b/spring-cloud-openfeign-core/src/main/java/org/springframework/cloud/openfeign/support/SortJsonComponent.java index 60861127..95a7f283 100644 --- a/spring-cloud-openfeign-core/src/main/java/org/springframework/cloud/openfeign/support/SortJsonComponent.java +++ b/spring-cloud-openfeign-core/src/main/java/org/springframework/cloud/openfeign/support/SortJsonComponent.java @@ -34,9 +34,10 @@ import feign.codec.EncodeException; import org.springframework.data.domain.Sort; /** - * This class provides support to serialize and deserialize spring {@link Sort} object. + * This class provides provides support for serializing and deserializing for Spring + * {@link Sort} object. * - * @author canbezmen + * @author can bezmen */ public class SortJsonComponent { diff --git a/spring-cloud-openfeign-core/src/test/java/org/springframework/cloud/openfeign/support/SortJacksonModuleTests.java b/spring-cloud-openfeign-core/src/test/java/org/springframework/cloud/openfeign/support/SortJacksonModuleTests.java index e062ecb8..54e6c833 100644 --- a/spring-cloud-openfeign-core/src/test/java/org/springframework/cloud/openfeign/support/SortJacksonModuleTests.java +++ b/spring-cloud-openfeign-core/src/test/java/org/springframework/cloud/openfeign/support/SortJacksonModuleTests.java @@ -38,7 +38,7 @@ import static org.hamcrest.Matchers.is; import static org.hamcrest.Matchers.notNullValue; /** - * @author canbezmen + * @author can bezmen */ @ExtendWith(MockitoExtension.class) class SortJacksonModuleTests {