[Lada-commits] [PATCH 2 of 5] Tell the user its a Messstelle

Wald Commits scm-commit at wald.intevation.org
Tue Nov 1 14:21:11 CET 2016


# HG changeset patch
# User Tom Gottfried <tom at intevation.de>
# Date 1478002748 -3600
# Node ID 9964210da1563ba11ea9f2e3c7df5b7a00f1b4b8
# Parent  82214fdab9c5ad2506bb1a457c56f06b9dd9fd11
Tell the user its a Messstelle.

diff -r 82214fdab9c5 -r 9964210da156 src/main/java/de/intevation/lada/importer/laf/LafObjectMapper.java
--- a/src/main/java/de/intevation/lada/importer/laf/LafObjectMapper.java	Tue Nov 01 13:16:43 2016 +0100
+++ b/src/main/java/de/intevation/lada/importer/laf/LafObjectMapper.java	Tue Nov 01 13:19:08 2016 +0100
@@ -123,7 +123,7 @@
             ReportItem err = new ReportItem();
             err.setCode(699);
             err.setKey(userInfo.getName());
-            err.setValue(probe.getMstId());
+            err.setValue("Messstelle " + probe.getMstId());
             currentErrors.add(err);
             if (currentErrors.size() > 0) {
                 List<ReportItem> copyErr = new ArrayList<ReportItem>(currentErrors);


More information about the Lada-commits mailing list