changeset 729:d9cc4b8337be

Fixed validator for descriptor to umwelt.
author Raimund Renkert <raimund.renkert@intevation.de>
date Fri, 11 Sep 2015 12:50:28 +0200
parents dd4ecf527075
children 00aaa48d37fe
files src/main/java/de/intevation/lada/validation/rules/probe/DeskriptorToUmwelt.java
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/main/java/de/intevation/lada/validation/rules/probe/DeskriptorToUmwelt.java	Thu Aug 27 10:50:59 2015 +0200
+++ b/src/main/java/de/intevation/lada/validation/rules/probe/DeskriptorToUmwelt.java	Fri Sep 11 12:50:28 2015 +0200
@@ -108,9 +108,9 @@
             return violation;
         }
 
-        int size = 1;
+        int size = 3;
         if (isZebs) {
-            size = 2;
+            size = 1;
         }
         for (int i = size; i >= 0; i--) {
             if (media.get(i) == -1) {
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)