mirror of
https://github.com/valitydev/fraudbusters.git
synced 2024-11-06 17:45:19 +00:00
JD-452 fix checkstyle + up spring core
This commit is contained in:
parent
db26371f90
commit
da0d5fef49
6
pom.xml
6
pom.xml
@ -70,6 +70,12 @@
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-validation</artifactId>
|
||||
</dependency>
|
||||
<!-- remove when release spring parent with spring.security up 5.5.0-->
|
||||
<dependency>
|
||||
<groupId>org.springframework</groupId>
|
||||
<artifactId>spring-core</artifactId>
|
||||
<version>5.3.8</version>
|
||||
</dependency>
|
||||
|
||||
<!-- logback -->
|
||||
<dependency>
|
||||
|
@ -16,13 +16,13 @@ public class FilterConverter {
|
||||
public FilterDto convert(Filter filter, Page page) {
|
||||
FilterDto filterDto = new FilterDto();
|
||||
Map<PaymentField, String> searchPatterns = assembleSearchPatterns(filter);
|
||||
filterDto.setSearchPatterns(searchPatterns);
|
||||
filterDto.setLastId(page.getContinuationId());
|
||||
filterDto.setSize(page.getSize());
|
||||
if (filter.isSetInterval()) {
|
||||
filterDto.setTimeFrom(filter.getInterval().getLowerBound().getBoundTime());
|
||||
filterDto.setTimeTo(filter.getInterval().getUpperBound().getBoundTime());
|
||||
}
|
||||
filterDto.setLastId(page.getContinuationId());
|
||||
filterDto.setSize(page.getSize());
|
||||
filterDto.setSearchPatterns(searchPatterns);
|
||||
return filterDto;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user