Mercurial > lada > lada-server
changeset 786:9a2dcb355d89
return the violation on error.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Wed, 18 Nov 2015 15:32:24 +0100 |
parents | 4a5c493e46ce |
children | 7033810468d9 |
files | src/main/java/de/intevation/lada/validation/rules/status/StatusKombination.java |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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; }