ConcurrentHashMap will through NPE on null key

This commit is contained in:
Darren Shepherd 2013-10-04 16:55:10 -07:00
parent cb7ae26f35
commit 7c72aa96da
1 changed files with 3 additions and 0 deletions

View File

@ -58,6 +58,9 @@ public class DataStoreProviderManagerImpl extends ManagerBase implements DataSto
@Override
public DataStoreProvider getDataStoreProvider(String name) {
if (name == null)
return null;
return providerMap.get(name);
}