[Dive4elements-commits] [PATCH] BedHeightParser: don't call a warning error
Wald Commits
scm-commit at wald.intevation.org
Thu Mar 28 09:39:14 CET 2013
# HG changeset patch
# User Tom Gottfried <tom.gottfried at intevation.de>
# Date 1364459941 -3600
# Node ID 2c6f4a3c5a25b23bb1990e5b8d2db61d65f5cbff
# Parent 6ec7c8ebb2c98708ed18c22f5adbb5b276a4ee27
BedHeightParser: don't call a warning error.
diff -r 6ec7c8ebb2c9 -r 2c6f4a3c5a25 flys-backend/src/main/java/de/intevation/flys/importer/parsers/BedHeightParser.java
--- a/flys-backend/src/main/java/de/intevation/flys/importer/parsers/BedHeightParser.java Thu Mar 28 09:29:42 2013 +0100
+++ b/flys-backend/src/main/java/de/intevation/flys/importer/parsers/BedHeightParser.java Thu Mar 28 09:39:01 2013 +0100
@@ -235,7 +235,7 @@
obj.setTimeInterval(new ImportTimeInterval(fromYear, toYear));
}
catch (NumberFormatException e) {
- log.warn("BHP: Error while parsing timeinterval!", e);
+ log.warn("BHP: could not parse timeinterval", e);
}
return true;
@@ -256,7 +256,7 @@
return true;
}
catch (NumberFormatException e) {
- log.warn("BHP: Error while parsing sounding width: " + line, e);
+ log.warn("BHP: Could not parse sounding width: " + line, e);
log.warn("-> Set default value '0'");
}
obj.setSoundingWidth(0);
@@ -316,7 +316,7 @@
return true;
}
catch (ParseException e) {
- log.warn("BHP: Error while parsing range!", e);
+ log.warn("BHP: could not parse range", e);
}
}
More information about the Dive4elements-commits
mailing list