changeset 7206:cb3965dbf22e

issue1435: SedimentDensityFacet: Access sediment density data.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Mon, 30 Sep 2013 17:31:10 +0200
parents e798658cc0ed
children fc965ef58972
files artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/SedimentDensityFacet.java
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/SedimentDensityFacet.java	Mon Sep 30 17:30:48 2013 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/SedimentDensityFacet.java	Mon Sep 30 17:31:10 2013 +0200
@@ -47,14 +47,14 @@
 
         D4EArtifact flys = (D4EArtifact) artifact;
 
-        CalculationResult res = (CalculationResult) flys.compute(context, hash,
+        SedimentDensity res = (SedimentDensity) flys.compute(context, hash,
             stateId, type, false);
 
         if (res == null) {
-            logger.error("No CalculationResult");
+            logger.error("No SedimentDensity");
         }
 
-        return null;
+        return res;
     }
 
 

http://dive4elements.wald.intevation.org