[Lada-commits] [PATCH 04 of 11] Fixed field name 'probeentnahmeBeginn'
Wald Commits
scm-commit at wald.intevation.org
Fri Mar 13 16:50:43 CET 2015
# HG changeset patch
# User Raimund Renkert <raimund.renkert at intevation.de>
# Date 1426261511 -3600
# Node ID 7c1f9409764a4d211422eb96beee63827d23e1a5
# Parent a1b46c5c11c399a2f0e254b9b8f5f5321eb9a38e
Fixed field name 'probeentnahmeBeginn'.
diff -r a1b46c5c11c3 -r 7c1f9409764a src/main/java/de/intevation/lada/validation/rules/probe/HasProbenahmeBegin.java
--- 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;
diff -r a1b46c5c11c3 -r 7c1f9409764a src/main/java/de/intevation/lada/validation/rules/probe/TimeProbeentnahmeBegin.java
--- 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;
More information about the Lada-commits
mailing list