Mercurial > dive4elements > river
changeset 9752:a41f9c355204 3.2.x
Remove unused parameter
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/RiverAxisArtifact.java Tue Oct 11 11:42:09 2022 +0200 +++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/RiverAxisArtifact.java Tue Oct 11 12:40:36 2022 +0200 @@ -95,7 +95,7 @@ @Override protected String getUrl() { if (isUnofficial()) { - return RiverUtils.getUserWMSUrl(artifact.identifier()); + return RiverUtils.getUserWMSUrl(); } else { return RiverUtils.getRiverWMSUrl(); }
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/WMSBuildingsArtifact.java Tue Oct 11 11:42:09 2022 +0200 +++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/WMSBuildingsArtifact.java Tue Oct 11 12:40:36 2022 +0200 @@ -77,7 +77,7 @@ @Override protected String getUrl() { - return RiverUtils.getUserWMSUrl(artifact.identifier()); + return RiverUtils.getUserWMSUrl(); } @Override
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/WMSFixpointsArtifact.java Tue Oct 11 11:42:09 2022 +0200 +++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/WMSFixpointsArtifact.java Tue Oct 11 12:40:36 2022 +0200 @@ -81,7 +81,7 @@ @Override protected String getUrl() { - return RiverUtils.getUserWMSUrl(artifact.identifier()); + return RiverUtils.getUserWMSUrl(); } @Override
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/WMSFloodmapsArtifact.java Tue Oct 11 11:42:09 2022 +0200 +++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/WMSFloodmapsArtifact.java Tue Oct 11 12:40:36 2022 +0200 @@ -81,7 +81,7 @@ @Override protected String getUrl() { - return RiverUtils.getUserWMSUrl(artifact.identifier()); + return RiverUtils.getUserWMSUrl(); } @Override
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/WMSFloodmarksArtifact.java Tue Oct 11 11:42:09 2022 +0200 +++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/WMSFloodmarksArtifact.java Tue Oct 11 12:40:36 2022 +0200 @@ -80,7 +80,7 @@ @Override protected String getUrl() { - return RiverUtils.getUserWMSUrl(artifact.identifier()); + return RiverUtils.getUserWMSUrl(); } @Override
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/WMSFloodplainArtifact.java Tue Oct 11 11:42:09 2022 +0200 +++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/WMSFloodplainArtifact.java Tue Oct 11 12:40:36 2022 +0200 @@ -85,7 +85,7 @@ @Override protected String getUrl() { - return RiverUtils.getUserWMSUrl(artifact.identifier()); + return RiverUtils.getUserWMSUrl(); } @Override
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/WMSHWSLinesArtifact.java Tue Oct 11 11:42:09 2022 +0200 +++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/WMSHWSLinesArtifact.java Tue Oct 11 12:40:36 2022 +0200 @@ -97,7 +97,7 @@ @Override protected String getUrl() { - return RiverUtils.getUserWMSUrl(artifact.identifier()); + return RiverUtils.getUserWMSUrl(); } @Override
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/WMSHWSPointsArtifact.java Tue Oct 11 11:42:09 2022 +0200 +++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/WMSHWSPointsArtifact.java Tue Oct 11 12:40:36 2022 +0200 @@ -97,7 +97,7 @@ @Override protected String getUrl() { - return RiverUtils.getUserWMSUrl(artifact.identifier()); + return RiverUtils.getUserWMSUrl(); } @Override
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/WMSHydrBoundaryArtifact.java Tue Oct 11 11:42:09 2022 +0200 +++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/WMSHydrBoundaryArtifact.java Tue Oct 11 12:40:36 2022 +0200 @@ -82,7 +82,7 @@ @Override protected String getUrl() { - return RiverUtils.getUserWMSUrl(artifact.identifier()); + return RiverUtils.getUserWMSUrl(); } @Override
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/WMSHydrBoundaryPolyArtifact.java Tue Oct 11 11:42:09 2022 +0200 +++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/WMSHydrBoundaryPolyArtifact.java Tue Oct 11 12:40:36 2022 +0200 @@ -82,7 +82,7 @@ @Override protected String getUrl() { - return RiverUtils.getUserWMSUrl(artifact.identifier()); + return RiverUtils.getUserWMSUrl(); } @Override
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/WMSJettiesArtifact.java Tue Oct 11 11:42:09 2022 +0200 +++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/WMSJettiesArtifact.java Tue Oct 11 12:40:36 2022 +0200 @@ -81,7 +81,7 @@ @Override protected String getUrl() { - return RiverUtils.getUserWMSUrl(artifact.identifier()); + return RiverUtils.getUserWMSUrl(); } @Override
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/WMSKmArtifact.java Tue Oct 11 11:42:09 2022 +0200 +++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/WMSKmArtifact.java Tue Oct 11 12:40:36 2022 +0200 @@ -118,7 +118,7 @@ @Override protected String getUrl() { - return RiverUtils.getUserWMSUrl(artifact.identifier()); + return RiverUtils.getUserWMSUrl(); } @Override
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/WMSQPSArtifact.java Tue Oct 11 11:42:09 2022 +0200 +++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/WMSQPSArtifact.java Tue Oct 11 12:40:36 2022 +0200 @@ -78,7 +78,7 @@ @Override protected String getUrl() { - return RiverUtils.getUserWMSUrl(artifact.identifier()); + return RiverUtils.getUserWMSUrl(); } @Override
--- a/artifacts/src/main/java/org/dive4elements/river/utils/RiverUtils.java Tue Oct 11 11:42:09 2022 +0200 +++ b/artifacts/src/main/java/org/dive4elements/river/utils/RiverUtils.java Tue Oct 11 12:40:36 2022 +0200 @@ -611,11 +611,9 @@ * Returns the URL of user mapfile for the owner of Artifact * <i>artifactId</i>. * - * @param artifactId The UUID of an artifact. - * * @return the URL of the user wms. */ - public static String getUserWMSUrl(String artifactId) { + public static String getUserWMSUrl() { String url = getXPathString(XPATH_MAPSERVER_URL); url = url.endsWith("/") ? url + "user-wms" : url + "/" + "user-wms";
--- a/artifacts/src/main/java/org/dive4elements/river/wsplgen/FacetCreator.java Tue Oct 11 11:42:09 2022 +0200 +++ b/artifacts/src/main/java/org/dive4elements/river/wsplgen/FacetCreator.java Tue Oct 11 12:40:36 2022 +0200 @@ -77,7 +77,7 @@ } protected String getUrl() { - return RiverUtils.getUserWMSUrl(artifact.identifier()); + return RiverUtils.getUserWMSUrl(); } protected String getSrid() {