Mercurial > dive4elements > river
diff backend/src/main/java/org/dive4elements/river/importer/parsers/SQRelationParser.java @ 5992:4c3ccf2b0304
Removed trailing whitespace.
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Sun, 12 May 2013 18:08:41 +0200 |
parents | 1830dae8cb9b |
children | c894b7b45c4c |
line wrap: on
line diff
--- a/backend/src/main/java/org/dive4elements/river/importer/parsers/SQRelationParser.java Sun May 12 18:07:03 2013 +0200 +++ b/backend/src/main/java/org/dive4elements/river/importer/parsers/SQRelationParser.java Sun May 12 18:08:41 2013 +0200 @@ -1,9 +1,9 @@ /* Copyright (C) 2011, 2012, 2013 by Bundesanstalt für Gewässerkunde * Software engineering by Intevation GmbH * - * This file is Free Software under the GNU AGPL (>=v3) + * This file is Free Software under the GNU AGPL (>=v3) * and comes with ABSOLUTELY NO WARRANTY! Check out the - * documentation coming with Dive4Elements River for details. + * documentation coming with Dive4Elements River for details. */ package org.dive4elements.river.importer.parsers; @@ -127,13 +127,13 @@ Integer nOutlier = parseInteger(cols[11], line); Double cFer = parseDouble(cols[12], line); Double cDuan = parseDouble(cols[13], line); - if (km == null || a == null || b == null || + if (km == null || a == null || b == null || qMax == null || cols[1].length() == 0) { if (km == null) { log.error("No km for measurement station: Can not reference measurement station: " + line); } - if ( a == null || b == null || + if ( a == null || b == null || qMax == null || cols[1].length() == 0) { log.error("Incomplete SQ-relation row (missing a, b, Qmax or parameter): " + line);