Mercurial > dive4elements > river
diff flys-backend/src/main/java/de/intevation/flys/importer/parsers/SQRelationParser.java @ 5458:e667c127b600
Removed column 'fraction' from sq relation parser and model.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Wed, 27 Mar 2013 13:02:53 +0100 |
parents | 3bd786772798 |
children | 9d11717538ec |
line wrap: on
line diff
--- a/flys-backend/src/main/java/de/intevation/flys/importer/parsers/SQRelationParser.java Wed Mar 27 13:01:53 2013 +0100 +++ b/flys-backend/src/main/java/de/intevation/flys/importer/parsers/SQRelationParser.java Wed Mar 27 13:02:53 2013 +0100 @@ -119,14 +119,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) { - log.error("Incomplete SQ-relation row (missing km, a or b): " + if (km == null || a == null || b == null || cols[1].length() == 0) { + log.error("Incomplete SQ-relation row (missing km, a, b or parameter): " + line); return; } current.addValue(new ImportSQRelationValue( cols[1], - cols[2], km, a, b,