[PATCH 3 of 3] issue1435: For Sediment Density Facets, use densities name/description

Wald Commits scm-commit at wald.intevation.org
Tue Oct 1 09:59:57 CEST 2013


# HG changeset patch
# User Felix Wolfsteller <felix.wolfsteller at intevation.de>
# Date 1380614771 -7200
# Node ID 7a6cb5b34bfc94f8bacca025f7fe9d15cceb79a4
# Parent  13f0bdeb2b47cae254906e8b0036af3d57f4cf87
issue1435: For Sediment Density Facets, use densities name/description.

diff -r 13f0bdeb2b47 -r 7a6cb5b34bfc artifacts/src/main/java/org/dive4elements/river/artifacts/SedimentDensityArtifact.java
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/SedimentDensityArtifact.java	Tue Oct 01 10:03:20 2013 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/SedimentDensityArtifact.java	Tue Oct 01 10:06:11 2013 +0200
@@ -131,15 +131,12 @@
         String code = getDatacageIDValue(data);
 
         if (code != null) {
-            //String name = SedimentDensityFactory.getSedimentDensityDescription(Integer.valueOf(code));
-
-            String name = "facet";
+            String name = SedimentDensityFactory.getSedimentDensityDescription(Integer.valueOf(code));
 
             Facet facet = new SedimentDensityFacet(
                 0,
                 SEDIMENT_DENSITY,
                 name,
-                //????
                 ComputeType.ADVANCE, state.getID(), "hash"
                 );
             fs.add(facet);


More information about the Dive4elements-commits mailing list