forked from plusone/plusone-commons
fix bug.
parent
4d96cdf8ec
commit
025e8ac4da
|
@ -35,7 +35,7 @@ public class PageDTO<T> {
|
||||||
private final List<T> content;
|
private final List<T> content;
|
||||||
|
|
||||||
private PageDTO(List<T> content, long total) {
|
private PageDTO(List<T> content, long total) {
|
||||||
Assert.isNotEmpty(content, "Content must not be null.");
|
Assert.notNull(content, "Content must not be null.");
|
||||||
this.content = content;
|
this.content = content;
|
||||||
this.total = total;
|
this.total = total;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue