Mercurial > dive4elements > river
changeset 5225:a075f26a516c
Use range object to get lower and upper km for dgm.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Tue, 12 Mar 2013 08:07:34 +0100 |
parents | 2594904640c3 |
children | a75acd0d5fee |
files | flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/DGMSelect.java |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/DGMSelect.java Mon Mar 11 18:17:12 2013 +0100 +++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/DGMSelect.java Tue Mar 12 08:07:34 2013 +0100 @@ -89,8 +89,8 @@ throw new IllegalArgumentException(ERR_INVALID_DGM); } - double l = dgm.getLower().doubleValue(); - double u = dgm.getUpper().doubleValue(); + double l = dgm.getRange().getA().doubleValue(); + double u = dgm.getRange().getB().doubleValue(); double[] range = FLYSUtils.getKmFromTo(flys);