[PATCH] another log
Wald Commits
scm-commit at wald.intevation.org
Wed Aug 29 18:03:44 CEST 2018
# HG changeset patch
# User gernotbelger
# Date 1535558282 -7200
# Node ID e28303971812517bdbcee4b6a38e703261759630
# Parent da7b5f07303ddabb90f1988006db2b6e464d83fb
another log
diff -r da7b5f07303d -r e28303971812 backend/src/main/java/org/dive4elements/river/model/CrossSection.java
--- a/backend/src/main/java/org/dive4elements/river/model/CrossSection.java Wed Aug 29 17:27:09 2018 +0200
+++ b/backend/src/main/java/org/dive4elements/river/model/CrossSection.java Wed Aug 29 17:58:02 2018 +0200
@@ -239,8 +239,13 @@
.setDouble("km", km);
List<Integer> results = sqlQuery.list();
-
+ final StringBuilder builder = new StringBuilder();
+
+
if (results.size() >= 1) {
+ final String resultIds = results.toString();
+ builder.append("CrossSection line 243 ID = ").append(getId()).append(", Result SIZE = ").append(results.size()).append( ", Result_Ids = ").append(resultIds);
+ log.debug(builder.toString());
Integer result = results.get(0);
if (result == getId()) {
return true;
More information about the Dive4Elements-commits
mailing list