oldFormats.removeAll(newFormats);
for (String removedFormat : oldFormats) {
String styleName = null;
String gridSetName = null;
BoundingBox bounds = null;
mediator.truncate(layerName, styleName, gridSetName, bounds, removedFormat);
}
}
Set<String> oldStyles = oldInfo.cachedStyles();
Set<String> newStyles = newInfo.cachedStyles();