[Dive4elements-commits] [PATCH] Use range object to get lower and upper km for dgm
Wald Commits
scm-commit at wald.intevation.org
Tue Mar 12 08:07:52 CET 2013
# HG changeset patch
# User Raimund Renkert <rrenkert at intevation.de>
# Date 1363072054 -3600
# Node ID a075f26a516c88c636f0ce89c6d27c218f84e9c3
# Parent 2594904640c3d8652be242ecd6a2b4a58cfe5041
Use range object to get lower and upper km for dgm.
diff -r 2594904640c3 -r a075f26a516c flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/DGMSelect.java
--- 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);
More information about the Dive4elements-commits
mailing list