[Dive4elements-commits] [PATCH 1 of 2] WaterlevelExporter: Doc and issue-TODO

Wald Commits scm-commit at wald.intevation.org
Thu Feb 14 09:23:00 CET 2013


# HG changeset patch
# User Felix Wolfsteller <felix.wolfsteller at intevation.de>
# Date 1360592970 -3600
# Node ID 4c76c5f69eafa4f76be6ba6ccbf82da959e9f623
# Parent  0000aff30fba98b743bc9d133d4afc9115ffca01
WaterlevelExporter: Doc and issue-TODO.

diff -r 0000aff30fba -r 4c76c5f69eaf flys-artifacts/src/main/java/de/intevation/flys/exports/WaterlevelExporter.java
--- a/flys-artifacts/src/main/java/de/intevation/flys/exports/WaterlevelExporter.java	Wed Feb 13 13:26:16 2013 +0100
+++ b/flys-artifacts/src/main/java/de/intevation/flys/exports/WaterlevelExporter.java	Mon Feb 11 15:29:30 2013 +0100
@@ -413,6 +413,10 @@
     }
 
 
+    /**
+     * Write the header, with different headings depending on whether at a
+     * gauge or at a location.
+     */
     protected void writeCSVHeader(
         CSVWriter writer,
         boolean   atGauge,
@@ -506,6 +510,7 @@
                     qf.format(result[1]),
                     colDesc,
                     FLYSUtils.getLocationDescription(flys, result[2]),
+                    // TODO issue1114: Take correct gauge
                     result[2] >= a && result[2] <= b
                         ? gaugeName
                         : notinrange


More information about the Dive4elements-commits mailing list