Mercurial > lada > lada-server
changeset 735:bcaf30a871ef
Set fixed size for first deskriptoren request.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Mon, 14 Sep 2015 11:20:14 +0200 |
parents | bce15c32cb4e |
children | d4d43d846a60 |
files | src/main/java/de/intevation/lada/factory/ProbeFactory.java src/main/java/de/intevation/lada/validation/rules/probe/DeskriptorToUmwelt.java |
diffstat | 2 files changed, 2 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- 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;
--- 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;