[Dive4elements-commits] [PATCH 4 of 4] Switch wst_kinds of Waterleve/-Differences (6/7)

Wald Commits scm-commit at wald.intevation.org
Wed Jun 12 10:20:11 CEST 2013


# HG changeset patch
# User Felix Wolfsteller <felix.wolfsteller at intevation.de>
# Date 1371025716 -7200
# Node ID e81e9dcc81b4f79cad770dcbf8052eec77ae96f3
# Parent  62dca91ca229fd35d579c72c2384bfdd59c5a64c
Switch wst_kinds of Waterleve/-Differences (6/7).

diff -r 62dca91ca229 -r e81e9dcc81b4 backend/src/main/java/org/dive4elements/river/importer/ImportRiver.java
--- a/backend/src/main/java/org/dive4elements/river/importer/ImportRiver.java	Wed Jun 12 10:26:45 2013 +0200
+++ b/backend/src/main/java/org/dive4elements/river/importer/ImportRiver.java	Wed Jun 12 10:28:36 2013 +0200
@@ -581,7 +581,7 @@
         // 'fixation'-wsts now.
         for(ImportWst iw: parser.getWaterlevels()) {
             iw.setDescription("CSV/" + iw.getDescription());
-            iw.setKind(6);
+            iw.setKind(7);
             waterlevels.add(iw);
         }
     }
@@ -645,7 +645,7 @@
         // WaterlevelDifferences become Wsts now.
         for(ImportWst iw: parser.getDifferences()) {
             iw.setDescription("CSV/" + iw.getDescription());
-            iw.setKind(7);
+            iw.setKind(6);
             waterlevelDifferences.add(iw);
         }
     }


More information about the Dive4elements-commits mailing list