[Lada-commits] [PATCH] Fixed validator for descriptor to umwelt

Wald Commits scm-commit at wald.intevation.org
Fri Sep 11 12:50:25 CEST 2015


# HG changeset patch
# User Raimund Renkert <raimund.renkert at intevation.de>
# Date 1441968628 -7200
# Node ID d9cc4b8337bead97342ab3ba53d5d1222c318b1a
# Parent  dd4ecf527075b93fdc06cdb990cdd3397fc4548d
Fixed validator for descriptor to umwelt.

diff -r dd4ecf527075 -r d9cc4b8337be src/main/java/de/intevation/lada/validation/rules/probe/DeskriptorToUmwelt.java
--- 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) {


More information about the Lada-commits mailing list