Please use the Apache issue tracking system for new NetBeans issues (https://issues.apache.org/jira/projects/NETBEANS0/issues) !!
View | Details | Raw Unified | Return to bug 187469 | Differences between
and this patch

Collapse All | Expand All

(-)a/dlight.management/src/org/netbeans/modules/dlight/management/api/impl/DataStorageManager.java (-1 / +8 lines)
 Lines 143-149    Link Here 
143
    public synchronized  Map<DataStorageType, DataStorage> getDataStoragesFor(DLightSession session, DataCollector<?> collector) {
143
    public synchronized  Map<DataStorageType, DataStorage> getDataStoragesFor(DLightSession session, DataCollector<?> collector) {
144
        Map<DataStorageType, DataStorage> result = new HashMap<DataStorageType, DataStorage>();
144
        Map<DataStorageType, DataStorage> result = new HashMap<DataStorageType, DataStorage>();
145
        for (DataStorageType type : collector.getRequiredDataStorageTypes()) {
145
        for (DataStorageType type : collector.getRequiredDataStorageTypes()) {
146
            result.put(type, getDataStorageFor(session, type, collector.getDataTablesMetadata()));
146
            final DataStorage dataStorage = getDataStorageFor(session, type, collector.getDataTablesMetadata());
147
            if (dataStorage != null) {
148
                result.put(type, dataStorage);
149
            } else {
150
                DLightLogger.getLogger(DataStorageManager.class).log(Level.INFO,
151
                        "DataStorageManager.getDataStoragesFor(session, collector<>) " //NOI18N
152
                        + "NULL storage returned for type={0} session={1}", new Object[] {type, session.getDisplayName()});//NOI18N
153
            }
147
        }
154
        }
148
        return result;
155
        return result;
149
    }
156
    }

Return to bug 187469
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo