[Dive4elements-commits] [PATCH 2 of 2] ImportRiver: In analogy to other wst imports, set kind in ImportRiver

Wald Commits scm-commit at wald.intevation.org
Tue Mar 12 12:21:35 CET 2013


# HG changeset patch
# User Felix Wolfsteller <felix.wolfsteller at intevation.de>
# Date 1363087731 -3600
# Node ID 35b78d8c44b84b4abd6e58c148d08266913665b3
# Parent  93d4145d5740cd146004113965e6bcc54fe53258
ImportRiver: In analogy to other wst imports, set kind in ImportRiver.

diff -r 93d4145d5740 -r 35b78d8c44b8 flys-backend/src/main/java/de/intevation/flys/importer/ImportRiver.java
--- a/flys-backend/src/main/java/de/intevation/flys/importer/ImportRiver.java	Tue Mar 12 12:28:26 2013 +0100
+++ b/flys-backend/src/main/java/de/intevation/flys/importer/ImportRiver.java	Tue Mar 12 12:28:51 2013 +0100
@@ -563,6 +563,7 @@
         // 'fixation'-wsts now.
         for(ImportWst iw: parser.getWaterlevels()) {
             iw.setDescription("CSV/" + iw.getDescription());
+            iw.setKind(6);
             fixations.add(iw);
         }
     }
@@ -626,6 +627,7 @@
         // WaterlevelDifferences become Wsts now.
         for(ImportWst iw: parser.getDifferences()) {
             iw.setDescription("CSV/" + iw.getDescription());
+            iw.setKind(7);
             waterlevelDifferences.add(iw);
         }
     }


More information about the Dive4elements-commits mailing list