DATACMNS-1520 - Fix typo in Javadoc.

Original pull request: #393.
This commit is contained in:
Jerzy Kwiatkowski
2019-04-23 16:20:17 +02:00
committed by Oliver Drotbohm
parent 21f6b1b4f7
commit 2b6682d3b1

View File

@@ -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!");