SEC-1465: Change empty check to a null check for list of delegates for DelegatingMethodSecurityMetadataSource.

This commit is contained in:
Luke Taylor 2010-04-25 22:11:35 +01:00
parent a421370a3d
commit 3c3aabf5be
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}