comparison 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
comparison
equal deleted inserted replaced
5991:6f80d5f375fd 5992:4c3ccf2b0304
1 /* Copyright (C) 2011, 2012, 2013 by Bundesanstalt für Gewässerkunde 1 /* Copyright (C) 2011, 2012, 2013 by Bundesanstalt für Gewässerkunde
2 * Software engineering by Intevation GmbH 2 * Software engineering by Intevation GmbH
3 * 3 *
4 * This file is Free Software under the GNU AGPL (>=v3) 4 * This file is Free Software under the GNU AGPL (>=v3)
5 * and comes with ABSOLUTELY NO WARRANTY! Check out the 5 * and comes with ABSOLUTELY NO WARRANTY! Check out the
6 * documentation coming with Dive4Elements River for details. 6 * documentation coming with Dive4Elements River for details.
7 */ 7 */
8 8
9 package org.dive4elements.river.importer.parsers; 9 package org.dive4elements.river.importer.parsers;
10 10
11 import java.io.File; 11 import java.io.File;
125 Double rSq = parseDouble(cols[9], line); 125 Double rSq = parseDouble(cols[9], line);
126 Integer nTot = parseInteger(cols[10], line); 126 Integer nTot = parseInteger(cols[10], line);
127 Integer nOutlier = parseInteger(cols[11], line); 127 Integer nOutlier = parseInteger(cols[11], line);
128 Double cFer = parseDouble(cols[12], line); 128 Double cFer = parseDouble(cols[12], line);
129 Double cDuan = parseDouble(cols[13], line); 129 Double cDuan = parseDouble(cols[13], line);
130 if (km == null || a == null || b == null || 130 if (km == null || a == null || b == null ||
131 qMax == null || cols[1].length() == 0) { 131 qMax == null || cols[1].length() == 0) {
132 if (km == null) { 132 if (km == null) {
133 log.error("No km for measurement station: Can not reference measurement station: " 133 log.error("No km for measurement station: Can not reference measurement station: "
134 + line); 134 + line);
135 } 135 }
136 if ( a == null || b == null || 136 if ( a == null || b == null ||
137 qMax == null || cols[1].length() == 0) { 137 qMax == null || cols[1].length() == 0) {
138 log.error("Incomplete SQ-relation row (missing a, b, Qmax or parameter): " 138 log.error("Incomplete SQ-relation row (missing a, b, Qmax or parameter): "
139 + line); 139 + line);
140 } 140 }
141 return; 141 return;

http://dive4elements.wald.intevation.org