result = componentFactory.create(uid);
configurationByUid.put(uid, result);
configurationBySolverName = null; // forces recalculation
+ configurationByComponentId = null; // forces recalculation
}
else {
if(result.getParent() == null)
configurationByUid.remove(component.uid);
if (configurationBySolverName != null && component.solverComponentName != null)
configurationBySolverName.remove(component.solverComponentName);
+ if (configurationByComponentId != null && component.componentId != 0)
+ configurationByComponentId.remove(component.componentId);
if(component.getChildMap() != null)
component.getChildMap().forEachValue(new TObjectProcedure<T>() {
@Override
configurationBySolverName.clear();
configurationBySolverName = null;
}
+ if (configurationByComponentId != null) {
+ configurationByComponentId.clear();
+ configurationByComponentId = null;
+ }
pendingRemoval.clear();
}