changeset 6047:1bb4b51ff1e6

BHP: do not import lines without useful data
author Tom Gottfried <tom.gottfried@intevation.de>
date Thu, 16 May 2013 20:11:53 +0200
parents 4493ef20d357
children caf9d989bd84
files backend/src/main/java/org/dive4elements/river/importer/parsers/BedHeightSingleParser.java
diffstat 1 files changed, 1 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/backend/src/main/java/org/dive4elements/river/importer/parsers/BedHeightSingleParser.java	Thu May 16 18:04:35 2013 +0200
+++ b/backend/src/main/java/org/dive4elements/river/importer/parsers/BedHeightSingleParser.java	Thu May 16 20:11:53 2013 +0200
@@ -59,11 +59,7 @@
 
         // Handle gaps like "10,0;;;;;".
         if (values.length == 1) {
-            ImportBedHeightSingleValue value = new ImportBedHeightSingleValue(
-                (ImportBedHeightSingle) obj,
-                km,
-                null, null, null, null, null);
-            obj.addValue(value);
+            // Do not import line without useful data
             return;
         }
 

http://dive4elements.wald.intevation.org