if (result instanceof ISpectrumConfig<?>) {
ISpectrumConfig<?> sc = (ISpectrumConfig<?>) result;
sc.setChartProperties(c.getChartProperties());
sc.setPlotPropertiesMap(c.getPlotPropertiesMap());
}
c.clean();
}
if (result == null) {
StringBuilder builder = new StringBuilder(
"Failed to find configuration matching id = ");
builder.append(id);