SEC-1465: Change empty check to a null check for list of delegates for DelegatingMethodSecurityMetadataSource.
This commit is contained in:
parent
a421370a3d
commit
3c3aabf5be
|
@ -30,7 +30,7 @@ public final class DelegatingMethodSecurityMetadataSource extends AbstractMethod
|
|||
//~ Constructor ====================================================================================================
|
||||
|
||||
public DelegatingMethodSecurityMetadataSource(List<MethodSecurityMetadataSource> methodSecurityMetadataSources) {
|
||||
Assert.notEmpty(methodSecurityMetadataSources, "MethodSecurityMetadataSources cannot be null or empty");
|
||||
Assert.notNull(methodSecurityMetadataSources, "MethodSecurityMetadataSources cannot be null");
|
||||
this.methodSecurityMetadataSources = methodSecurityMetadataSources;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue