Skip to content

Commit

Permalink
deegree#1393 (deegree#232) - removed static
Browse files Browse the repository at this point in the history
  • Loading branch information
lgoltz committed May 12, 2023
1 parent 25cae92 commit 4f3a43b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ private Map<String, Layer> collectConfiguredRemoteLayers( Map<String, LayerMetad
return map;
}

private static void mergeStyleAndLegendStyles( LayerMetadata remoteServiceMd, LayerMetadata confMd ) {
private void mergeStyleAndLegendStyles( LayerMetadata remoteServiceMd, LayerMetadata confMd ) {
Map<String, Style> configuredLegendStyles = confMd.getLegendStyles();
Map<String, Style> remoteServiceLegendStyles = remoteServiceMd.getLegendStyles();
Map<String, Style> remoteServiceStyles = remoteServiceMd.getStyles();
Expand All @@ -153,7 +153,7 @@ private static void mergeStyleAndLegendStyles( LayerMetadata remoteServiceMd, La
confMd.setStyles( remoteServiceStyles );
}

private static void removeUnconfiguredStyles( Map<String, Style> configuredLegendStyles,
private void removeUnconfiguredStyles( Map<String, Style> configuredLegendStyles,
Map<String, Style> remoteServiceLegendStyles,
Map<String, Style> remoteServiceStyles ) {
for ( String remoteServiceStyleName : remoteServiceStyles.keySet() ) {
Expand All @@ -165,7 +165,7 @@ private static void removeUnconfiguredStyles( Map<String, Style> 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() );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down

0 comments on commit 4f3a43b

Please sign in to comment.