[PATCH 1 of 2] Fixed missing parameter in addProblem

Wald Commits scm-commit at wald.intevation.org
Mon May 28 10:57:23 CEST 2018


# HG changeset patch
# User mschaefer
# Date 1527497681 -7200
# Node ID 82917e414d7610deb44261cd4bdfb98b9b2df270
# Parent  9bd4505a20dc70a63b1967f42881112a9068450f
Fixed missing parameter in addProblem

diff -r 9bd4505a20dc -r 82917e414d76 artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/tkhstate/DefaultBedHeights.java
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/tkhstate/DefaultBedHeights.java	Sat May 26 15:41:47 2018 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/tkhstate/DefaultBedHeights.java	Mon May 28 10:54:41 2018 +0200
@@ -117,7 +117,7 @@
             }
             catch (final Exception e) {
                 e.printStackTrace();
-                problems.addProblem("sinfo.bedheightsfinder.missingdescription", name);
+                problems.addProblem("sinfo.bedheightsfinder.missingdescription", river.getName(), name);
             }
         }
 


More information about the Dive4Elements-commits mailing list