@Override
public void visit(LayerGroupInfo layerGroup) {
LayerGroupInfo otherLayerGroup = otherCatalog.getLayerGroup(layerGroup.getId());
if (!(Objects.equals(layerGroup, otherLayerGroup)
&& checkEquals(layerGroup.getStyles(), otherLayerGroup.getStyles())
&& checkEquals(layerGroup.getAuthorityURLs(), otherLayerGroup.getAuthorityURLs())
&& checkEquals(layerGroup.getIdentifiers(), otherLayerGroup.getIdentifiers())
&& checkEquals(layerGroup.getMetadataLinks(), otherLayerGroup.getMetadataLinks())
&& checkEquals(layerGroup.getMetadata(), otherLayerGroup.getMetadata())
&& checkEquals(layerGroup.getLayers(), otherLayerGroup.getLayers()))) {
differences.add(new InfoDiff(layerGroup, otherLayerGroup));
}
}