changeset 559:7c1f9409764a

Fixed field name 'probeentnahmeBeginn'.
author Raimund Renkert <raimund.renkert@intevation.de>
date Fri, 13 Mar 2015 16:45:11 +0100
parents a1b46c5c11c3
children c3742f46c8e1
files src/main/java/de/intevation/lada/validation/rules/probe/HasProbenahmeBegin.java src/main/java/de/intevation/lada/validation/rules/probe/TimeProbeentnahmeBegin.java
diffstat 2 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/main/java/de/intevation/lada/validation/rules/probe/HasProbenahmeBegin.java	Fri Mar 13 16:44:27 2015 +0100
+++ b/src/main/java/de/intevation/lada/validation/rules/probe/HasProbenahmeBegin.java	Fri Mar 13 16:45:11 2015 +0100
@@ -16,7 +16,7 @@
         Timestamp begin = probe.getProbeentnahmeBeginn();
         if (begin == null) {
             Violation violation = new Violation();
-            violation.addWarning("probeentnahmeBegin", 631);
+            violation.addWarning("probeentnahmeBeginn", 631);
             return violation;
         }
         return null;
--- a/src/main/java/de/intevation/lada/validation/rules/probe/TimeProbeentnahmeBegin.java	Fri Mar 13 16:44:27 2015 +0100
+++ b/src/main/java/de/intevation/lada/validation/rules/probe/TimeProbeentnahmeBegin.java	Fri Mar 13 16:45:11 2015 +0100
@@ -21,12 +21,12 @@
         }
         if (begin == null && end != null) {
             Violation violation = new Violation();
-            violation.addWarning("probeentnahmeBegin", 662);
+            violation.addWarning("probeentnahmeBeginn", 662);
             return violation;
         }
         if (begin.after(new Date())) {
             Violation violation = new Violation();
-            violation.addWarning("probeentnahmeBegin", 661);
+            violation.addWarning("probeentnahmeBeginn", 661);
             return violation;
         }
         if (end == null) {
@@ -34,7 +34,7 @@
         }
         if (begin.after(end)) {
             Violation violation = new Violation();
-            violation.addWarning("probeentnahmeBegin", 662);
+            violation.addWarning("probeentnahmeBeginn", 662);
             return violation;
         }
         return null;
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)