Browse Source

Review changes.

pull/329/head
Can Bezmen 5 years ago
parent
commit
06a55b8bcd
  1. 2
      spring-cloud-openfeign-core/src/main/java/org/springframework/cloud/openfeign/support/PageJacksonModule.java
  2. 4
      spring-cloud-openfeign-core/src/main/java/org/springframework/cloud/openfeign/support/SortJacksonModule.java
  3. 5
      spring-cloud-openfeign-core/src/main/java/org/springframework/cloud/openfeign/support/SortJsonComponent.java
  4. 2
      spring-cloud-openfeign-core/src/test/java/org/springframework/cloud/openfeign/support/SortJacksonModuleTests.java

2
spring-cloud-openfeign-core/src/main/java/org/springframework/cloud/openfeign/support/PageJacksonModule.java

@ -33,7 +33,7 @@ import org.springframework.data.domain.Pageable; @@ -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
*/

4
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; @@ -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 {

5
spring-cloud-openfeign-core/src/main/java/org/springframework/cloud/openfeign/support/SortJsonComponent.java

@ -34,9 +34,10 @@ import feign.codec.EncodeException; @@ -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 {

2
spring-cloud-openfeign-core/src/test/java/org/springframework/cloud/openfeign/support/SortJacksonModuleTests.java

@ -38,7 +38,7 @@ import static org.hamcrest.Matchers.is; @@ -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 {

Loading…
Cancel
Save