if (layerGroupPolicy.hideLayerGroup(group, filteredLayers)) {
return null;
} else {
if (group.getLayers().size() != filteredLayers.size()) {
return new DecoratingLayerGroupInfo(group) {
@Override
public List<PublishedInfo> getLayers() {
return filteredLayers;
}
};