Mercurial > lada > lada-server
comparison src/main/java/de/intevation/lada/factory/ProbeFactory.java @ 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 | 83acc3b63354 |
children | 092e673cbb8d |
comparison
equal
deleted
inserted
replaced
734:bce15c32cb4e | 735:bcaf30a871ef |
---|---|
437 | 437 |
438 if (media.size() == 0) { | 438 if (media.size() == 0) { |
439 return ""; | 439 return ""; |
440 } | 440 } |
441 | 441 |
442 int size = 2; | 442 int size = 1; |
443 if (isZebs) { | |
444 size = 3; | |
445 } | |
446 for (int i = size; i >= 0; i--) { | 443 for (int i = size; i >= 0; i--) { |
447 if (media.get(i) == -1) { | 444 if (media.get(i) == -1) { |
448 continue; | 445 continue; |
449 } | 446 } |
450 String field = "s" + (i > 9 ? i : "0" + i); | 447 String field = "s" + (i > 9 ? i : "0" + i); |