comparison backend/src/main/java/org/dive4elements/river/importer/parsers/BedHeightSingleParser.java @ 7344:6c003cbb27f1 double-precision

BedHeightSingleParser: do not log every data line in file.
author Tom Gottfried <tom@intevation.de>
date Wed, 16 Oct 2013 09:56:15 +0200
parents f095b58c95d9
children 809e76b7fe38
comparison
equal deleted inserted replaced
7343:d93bb557a94f 7344:6c003cbb27f1
37 * Create ImportBedHeightSingleValue from a line of csv file, add 37 * Create ImportBedHeightSingleValue from a line of csv file, add
38 * it to the ImportBedHeight. 38 * it to the ImportBedHeight.
39 */ 39 */
40 @Override 40 @Override
41 protected void handleDataLine(ImportBedHeight obj, String line) { 41 protected void handleDataLine(ImportBedHeight obj, String line) {
42 log.debug(line);
43 String[] values = line.split(SEPERATOR_CHAR); 42 String[] values = line.split(SEPERATOR_CHAR);
44 43
45 if (values == null || (values.length != 1 && values.length < 6)) { 44 if (values == null || (values.length != 1 && values.length < 6)) {
46 //log.warn("BSP: Error while parsing data line: '" + line + "'"); 45 //log.warn("BSP: Error while parsing data line: '" + line + "'");
47 return; 46 return;

http://dive4elements.wald.intevation.org