Update to Spring Boot 2.5

This commit is contained in:
Dom Eori
2021-08-18 11:40:15 +09:00
parent 1ac7b82d71
commit 2f648aea19
3 changed files with 12 additions and 7 deletions

View File

@@ -153,4 +153,9 @@ public class OffsetPageRequest implements Pageable, Serializable {
return this.offset == other.offset && this.limit == other.limit;
}
@Override
public Pageable withPage(int pageNumber) {
return new OffsetPageRequest(pageNumber, getPageSize(), getSort());
}
}