changeset 6910:a58a1a520948

a bit of debug output
author Tom Gottfried <tom@intevation.de>
date Fri, 23 Aug 2013 12:57:21 +0200
parents 835e07ee769d
children 1f1acbe5f243
files artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/SedimentDensity.java
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/SedimentDensity.java	Fri Aug 23 11:39:24 2013 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/SedimentDensity.java	Fri Aug 23 12:57:21 2013 +0200
@@ -68,6 +68,7 @@
     public double getDensity(double km, int year) {
         Collections.sort(this.years);
         if (this.years.size() == 1) {
+            logger.debug("get density from year " + year + " at km " + km);
             return getDensityAtKm(densities.get(year), km);
         }
         else {
@@ -97,7 +98,7 @@
         SedimentDensityValue prev = null;
         SedimentDensityValue next = null;
         for (SedimentDensityValue sdv: values) {
-logger.debug("year: " + sdv.getYear());
+            logger.debug("year: " + sdv.getYear());
             if (sdv.getKm() == km) {
                 prev = sdv;
                 found = true;

http://dive4elements.wald.intevation.org