SEC-1317: Removed check in ProviderManager.getProviders() for empty provider list. A ProviderManager with a non-null parent may have an empty provider list. The afterPropertiesSet() method performs the necessary checks.

This commit is contained in:
Luke Taylor
2009-12-07 21:38:40 +00:00
parent 444d93b13f
commit 02a9db7bcf
2 changed files with 2 additions and 11 deletions

View File

@@ -85,12 +85,6 @@ public class ProviderManagerTests {
mgr.setProviders(providers);
}
@Test(expected=IllegalArgumentException.class)
public void getProvidersFailsIfProviderListNotSet() throws Exception {
ProviderManager mgr = new ProviderManager();
mgr.getProviders();
}
@Test(expected=IllegalArgumentException.class)
public void testStartupFailsIfProvidersNotSet() throws Exception {
ProviderManager mgr = new ProviderManager();