I\'m working the Spring Data Commons v2+ snapshot, and I see that the constructors for a PageRequest have been deprecated. This appears to have occurred betwee
PageRequest
We can use PageRequest.of(offset, limit) instead of new PageRequest(offset, limit). In this case we don't need to use deprecated constructor.
PageRequest.of(offset, limit)
new PageRequest(offset, limit)