#1930 - Polish Javadoc and nullability.
This commit is contained in:
@@ -60,6 +60,7 @@ public class CollectionModel<T> extends RepresentationModel<CollectionModel<T>>
|
||||
protected CollectionModel(Iterable<T> content, Iterable<Link> links, @Nullable ResolvableType fallbackType) {
|
||||
|
||||
Assert.notNull(content, "Content must not be null!");
|
||||
Assert.notNull(links, "Links must not be null!");
|
||||
|
||||
this.content = new ArrayList<>();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user