in geronimo-jaspi/src/main/java/org/apache/geronimo/components/jaspi/model/KeyedObjectMapAdapter.java [49:60]
public Map<String, T> unmarshal(List<T> configProviderTypes) throws Exception {
Map<String, T> map = new HashMap<String, T>();
if (configProviderTypes != null) {
for (T configProviderType : configProviderTypes) {
if (configProviderType != null) {
String key = configProviderType.getKey();
map.put(key, configProviderType);
}
}
}
return map;
}