[Lada-commits] [PATCH 1 of 3] Set fixed size for first deskriptoren request
Wald Commits
scm-commit at wald.intevation.org
Mon Sep 14 11:20:29 CEST 2015
# HG changeset patch
# User Raimund Renkert <raimund.renkert at intevation.de>
# Date 1442222414 -7200
# Node ID bcaf30a871ef160e12c506f6018c941f7a23a6f5
# Parent bce15c32cb4edd5106601bfcbbaf3a5c61f15738
Set fixed size for first deskriptoren request.
diff -r bce15c32cb4e -r bcaf30a871ef src/main/java/de/intevation/lada/factory/ProbeFactory.java
--- a/src/main/java/de/intevation/lada/factory/ProbeFactory.java Mon Sep 14 10:31:34 2015 +0200
+++ b/src/main/java/de/intevation/lada/factory/ProbeFactory.java Mon Sep 14 11:20:14 2015 +0200
@@ -439,10 +439,7 @@
return "";
}
- int size = 2;
- if (isZebs) {
- size = 3;
- }
+ int size = 1;
for (int i = size; i >= 0; i--) {
if (media.get(i) == -1) {
continue;
diff -r bce15c32cb4e -r bcaf30a871ef src/main/java/de/intevation/lada/validation/rules/probe/DeskriptorToUmwelt.java
--- a/src/main/java/de/intevation/lada/validation/rules/probe/DeskriptorToUmwelt.java Mon Sep 14 10:31:34 2015 +0200
+++ b/src/main/java/de/intevation/lada/validation/rules/probe/DeskriptorToUmwelt.java Mon Sep 14 11:20:14 2015 +0200
@@ -108,10 +108,7 @@
return violation;
}
- int size = 2;
- if (isZebs) {
- size = 3;
- }
+ int size = 1;
for (int i = size; i >= 0; i--) {
if (media.get(i) == -1) {
continue;
More information about the Lada-commits
mailing list