[Lada-commits] [PATCH 2 of 7] return the violation on error
Wald Commits
scm-commit at wald.intevation.org
Wed Nov 18 15:40:09 CET 2015
# HG changeset patch
# User Raimund Renkert <raimund.renkert at intevation.de>
# Date 1447857144 -3600
# Node ID 9a2dcb355d89fe79071c3e4bfd2bd2cfec223501
# Parent 4a5c493e46cec4ab4c168adcc7bc11aa5f05a384
return the violation on error.
diff -r 4a5c493e46ce -r 9a2dcb355d89 src/main/java/de/intevation/lada/validation/rules/status/StatusKombination.java
--- a/src/main/java/de/intevation/lada/validation/rules/status/StatusKombination.java Wed Nov 18 15:32:02 2015 +0100
+++ b/src/main/java/de/intevation/lada/validation/rules/status/StatusKombination.java Wed Nov 18 15:32:24 2015 +0100
@@ -46,6 +46,7 @@
if (result.isEmpty()) {
Violation violation = new Violation();
violation.addError("status", 632);
+ return violation;
}
return null;
}
More information about the Lada-commits
mailing list