diff --git a/deegree-layers/deegree-layers-remotewms/src/main/java/org/deegree/layer/persistence/remotewms/RemoteWmsLayerBuilder.java b/deegree-layers/deegree-layers-remotewms/src/main/java/org/deegree/layer/persistence/remotewms/RemoteWmsLayerBuilder.java index cb5a97c6cf..a110dfb1ee 100644 --- a/deegree-layers/deegree-layers-remotewms/src/main/java/org/deegree/layer/persistence/remotewms/RemoteWmsLayerBuilder.java +++ b/deegree-layers/deegree-layers-remotewms/src/main/java/org/deegree/layer/persistence/remotewms/RemoteWmsLayerBuilder.java @@ -131,7 +131,7 @@ private Map collectConfiguredRemoteLayers( Map configuredLegendStyles = confMd.getLegendStyles(); Map remoteServiceLegendStyles = remoteServiceMd.getLegendStyles(); Map remoteServiceStyles = remoteServiceMd.getStyles(); @@ -153,7 +153,7 @@ private static void mergeStyleAndLegendStyles( LayerMetadata remoteServiceMd, La confMd.setStyles( remoteServiceStyles ); } - private static void removeUnconfiguredStyles( Map configuredLegendStyles, + private void removeUnconfiguredStyles( Map configuredLegendStyles, Map remoteServiceLegendStyles, Map remoteServiceStyles ) { for ( String remoteServiceStyleName : remoteServiceStyles.keySet() ) { @@ -165,7 +165,7 @@ private static void removeUnconfiguredStyles( Map configuredLegen } } - private static void setLegendUrlAndFile( Style targetStyle, Style sourceStyle ) { + private void setLegendUrlAndFile( Style targetStyle, Style sourceStyle ) { targetStyle.setPrefersGetLegendGraphicUrl( sourceStyle.prefersGetLegendGraphicUrl() ); if ( sourceStyle.getLegendURL() != null ) { targetStyle.setLegendURL( sourceStyle.getLegendURL() ); diff --git a/deegree-services/deegree-webservices-handbook/src/main/asciidoc/layers.adoc b/deegree-services/deegree-webservices-handbook/src/main/asciidoc/layers.adoc index f289996991..2de4040716 100644 --- a/deegree-services/deegree-webservices-handbook/src/main/asciidoc/layers.adoc +++ b/deegree-services/deegree-webservices-handbook/src/main/asciidoc/layers.adoc @@ -656,7 +656,7 @@ parameters fixed to the configured values. ==== Layer configuration The manual configuration allows you to pick out a layer, rename it, and -optionally override the _common description, spatial metadata and legend graphic of the styles. What +optionally override the common description, spatial metadata and legend graphic of the styles. What you don't override, will be copied from the source. Let's look at an example: