This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
public synchronized Map<DataStorageType, DataStorage> getDataStoragesFor(DLightSession session, DataCollector<?> collector) {
Map<DataStorageType, DataStorage> result = new HashMap<DataStorageType, DataStorage>();
for (DataStorageType type : collector.getRequiredDataStorageTypes()) {
result.put(type, getDataStorageFor(session, type, collector.getDataTablesMetadata()));
final DataStorage dataStorage = getDataStorageFor(session, type, collector.getDataTablesMetadata());
if (dataStorage != null) {
result.put(type, dataStorage);
} else {
DLightLogger.getLogger(DataStorageManager.class).log(Level.INFO,
"DataStorageManager.getDataStoragesFor(session, collector<>) " //NOI18N
+ "NULL storage returned for type={0} session={1}", new Object[] {type, session.getDisplayName()});//NOI18N
}
return result;