diff --git a/src/main/java/com/easypost/service/UserService.java b/src/main/java/com/easypost/service/UserService.java index dbb737e35..44d67a57f 100644 --- a/src/main/java/com/easypost/service/UserService.java +++ b/src/main/java/com/easypost/service/UserService.java @@ -164,7 +164,8 @@ public ChildUserCollection allChildren(final Map params) throws * @return ChildUserCollection object. * @throws EndOfPaginationError when there are no more pages to retrieve. */ - public ChildUserCollection getNextPage(ChildUserCollection collection, Integer pageSize) throws EndOfPaginationError { + public ChildUserCollection getNextPage(ChildUserCollection collection, Integer pageSize) + throws EndOfPaginationError { return collection.getNextPage(new Function, ChildUserCollection>() { @Override @SneakyThrows public ChildUserCollection apply(Map parameters) {