committed by
Oliver Drotbohm
parent
21f6b1b4f7
commit
2b6682d3b1
@@ -168,7 +168,7 @@ public class PagedResourcesAssembler<T> implements RepresentationModelAssembler<
|
||||
|
||||
private PagedModel<?> toEmptyModel(Page<?> page, Class<?> type, Optional<Link> link) {
|
||||
|
||||
Assert.notNull(page, "Page must must not be null!");
|
||||
Assert.notNull(page, "Page must not be null!");
|
||||
Assert.isTrue(!page.hasContent(), "Page must not have any content!");
|
||||
Assert.notNull(type, "Type must not be null!");
|
||||
Assert.notNull(link, "Link must not be null!");
|
||||
|
||||
Reference in New Issue
Block a user