committed by
Oliver Drotbohm
parent
f3e6abdf29
commit
5240c2eeef
@@ -165,7 +165,7 @@ public class PagedResourcesAssembler<T> implements ResourceAssembler<Page<T>, Pa
|
||||
|
||||
private PagedResources<?> toEmptyResource(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