changeset 1335:b9eb9229df21

Accept values for 'umweltbereich' with length of 1 - 3 characters.
author Raimund Renkert <raimund.renkert@intevation.de>
date Thu, 06 Apr 2017 10:08:47 +0200
parents 739ad8e78fca
children 18c789672b14
files src/main/java/de/intevation/lada/importer/laf/LafObjectListener.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/main/java/de/intevation/lada/importer/laf/LafObjectListener.java	Wed Apr 05 16:15:47 2017 +0200
+++ b/src/main/java/de/intevation/lada/importer/laf/LafObjectListener.java	Thu Apr 06 10:08:47 2017 +0200
@@ -1086,7 +1086,7 @@
         }
         String value = ctx.getChild(1).toString();
         value = value.replaceAll("\"", "");
-        if (!value.matches(LafDataTypes.SC3)) {
+        if (!value.matches(LafDataTypes.C3)) {
             ReportItem err = new ReportItem();
             err.setKey(ctx.getChild(0).toString());
             err.setValue(value);
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)