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 2008c28c65
commit b1b76f2019

View File

@@ -144,7 +144,7 @@ public class PagedResourcesAssembler<T> implements ResourceAssembler<Page<T>, Pa
*/
public PagedResources<?> toEmptyResource(Page<?> page, Class<?> type, 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!");