[PATCH 2 of 4] Doc fix

Wald Commits scm-commit at wald.intevation.org
Fri Aug 30 12:23:40 CEST 2013


# HG changeset patch
# User Felix Wolfsteller <felix.wolfsteller at intevation.de>
# Date 1377858693 -7200
# Node ID f5f60b3d91801ed5e1d9fbab0f9ae5edec9c9932
# Parent  40da4a6e2cfbe4d5d40ac04a94685b8beeb372d4
Doc fix.

diff -r 40da4a6e2cfb -r f5f60b3d9180 artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/SedimentLoadCalculation.java
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/SedimentLoadCalculation.java	Fri Aug 30 12:30:51 2013 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/SedimentLoadCalculation.java	Fri Aug 30 12:31:33 2013 +0200
@@ -531,8 +531,7 @@
     /**
      * Transform values in load.
      * Background is to transform values measured in
-     * t/a to m^3/a or vice versa using the specific
-     * measured relationships.
+     * t/a to m^3/a using the specific measured densities.
      *
      * @param load The load of which values should be transformed.
      * @param year The year at which to look at density (e.g. 2003).
@@ -542,6 +541,7 @@
     private SedimentLoad calculateUnit(SedimentLoad load, int year) {
         SedimentDensity density =
             SedimentDensityFactory.getSedimentDensity(river, kmLow, kmUp, year);
+
         for (double km: load.getKms()) {
             double dens = density.getDensity(km, year);
             SedimentLoadFraction fraction = load.getFraction(km);


More information about the Dive4elements-commits mailing list