Upgrade dependencies
This commit is contained in:
@@ -53,8 +53,10 @@ public abstract class AbstractHeadersSnippet extends TemplatedSnippet {
|
||||
Map<String, Object> attributes) {
|
||||
super(type + "-headers", attributes);
|
||||
for (HeaderDescriptor descriptor : descriptors) {
|
||||
Assert.notNull(descriptor.getName());
|
||||
Assert.notNull(descriptor.getDescription());
|
||||
Assert.notNull(descriptor.getName(),
|
||||
"The name of the header must not be null");
|
||||
Assert.notNull(descriptor.getDescription(),
|
||||
"The description of the header must not be null");
|
||||
}
|
||||
this.headerDescriptors = descriptors;
|
||||
this.type = type;
|
||||
|
||||
Reference in New Issue
Block a user