changeset 7196:e6f9c831a75f

SedimentYieldArtifact: Removed unneeded documentation, removed but added one TODO.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Mon, 30 Sep 2013 06:58:09 +0200
parents c0349b54c604
children 1750b4448c0c
files artifacts/src/main/java/org/dive4elements/river/artifacts/SedimentYieldArtifact.java
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/SedimentYieldArtifact.java	Fri Sep 27 22:09:12 2013 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/SedimentYieldArtifact.java	Mon Sep 30 06:58:09 2013 +0200
@@ -36,7 +36,7 @@
 import org.dive4elements.river.utils.Formatter;
 
 
-/** Artifact to access sediment yield measurements (inspired from flow velocity artifact). */
+/** Artifact to access sediment yield measurements. */
 public class SedimentYieldArtifact
 extends      StaticD4EArtifact
 implements   FacetTypes
@@ -84,6 +84,7 @@
         String id = getDataAsString(DATA_NAME);
         String river = getDataAsString("river");
 
+        // TODO use cache if possible
         SedimentLoad myLoad = SedimentLoadFactory.getSedimentLoadWithDataUncached(id, river);
         return new CalculationResult(
             new SedimentLoadResult[] {
@@ -142,8 +143,6 @@
         List<Facet> fs = new ArrayList<Facet>();
         String code = getDatacageIDValue(data);
 
-        // TODO need river, too.
-        //
         if (code != null) {
             String name = SedimentLoadFactory.getSedimentYieldDescription(Integer.valueOf(code));
 

http://dive4elements.wald.intevation.org