[PATCH] Fixed: error output of year contained dot
Wald Commits
scm-commit at wald.intevation.org
Fri Aug 31 17:11:36 CEST 2018
# HG changeset patch
# User gernotbelger
# Date 1535728292 -7200
# Node ID c01f1e65903b4aad21fb2fa5b9054af790587f62
# Parent 7d7aa54afe0c06f0423f8b82506e211194fac7f4
Fixed: error output of year contained dot
diff -r 7d7aa54afe0c -r c01f1e65903b artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/tkhcalculation/BedQualityD50KmValueFinder.java
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/tkhcalculation/BedQualityD50KmValueFinder.java Thu Aug 30 14:09:44 2018 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/tkhcalculation/BedQualityD50KmValueFinder.java Fri Aug 31 17:11:32 2018 +0200
@@ -148,7 +148,7 @@
log.debug("loadValues: no kms found");
if (kms.size() < 2 || values.size() < 2) {
- problems.addProblem("bedqualityd50kmvaluefinder.empty", soundingYear);
+ problems.addProblem("bedqualityd50kmvaluefinder.empty", Integer.toString(soundingYear));
return null;
}
@@ -172,6 +172,7 @@
return this.interpolator.value(km);
}
catch (final ArgumentOutsideDomainException e) {
+ // No stack trace because this might happen a lot (intended) and we produce an error message anyways.
// e.printStackTrace();
if (this.problems != null) {
More information about the Dive4Elements-commits
mailing list