[Lada-commits] [PATCH 2 of 2] Fixed warning field name in validator rule
Wald Commits
scm-commit at wald.intevation.org
Wed Mar 18 15:30:51 CET 2015
# HG changeset patch
# User Raimund Renkert <raimund.renkert at intevation.de>
# Date 1426689102 -3600
# Node ID a60f2004d7867be4a689e671d5fddf679c22fad0
# Parent e00c40b17a7931621f1a0b9572718ab513ffb71e
Fixed warning field name in validator rule.
diff -r e00c40b17a79 -r a60f2004d786 src/main/java/de/intevation/lada/validation/rules/probe/HasUmwelt.java
--- a/src/main/java/de/intevation/lada/validation/rules/probe/HasUmwelt.java Wed Mar 18 15:31:09 2015 +0100
+++ b/src/main/java/de/intevation/lada/validation/rules/probe/HasUmwelt.java Wed Mar 18 15:31:42 2015 +0100
@@ -14,7 +14,7 @@
if (probe.getUmwId() == null ||
probe.getUmwId().equals("")) {
Violation violation = new Violation();
- violation.addWarning("uwb", 631);
+ violation.addWarning("umwId", 631);
return violation;
}
return null;
More information about the Lada-commits
mailing list