changeset 4828:cb4cc6414447

BedHeightAccess: Use getFrom/getTo.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Mon, 21 Jan 2013 17:35:26 +0100
parents 15e55fdbb402
children 92ba5ffb8ba8
files flys-artifacts/src/main/java/de/intevation/flys/artifacts/access/BedHeightAccess.java
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/access/BedHeightAccess.java	Mon Jan 21 17:34:56 2013 +0100
+++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/access/BedHeightAccess.java	Mon Jan 21 17:35:26 2013 +0100
@@ -145,8 +145,8 @@
         BedHeightSingle single = BedHeightSingle.getBedHeightSingleById(
                 artifact.getDataAsInteger("height_id"));
         return BedHeightSingleValue.getBedHeightSingleValues(single,
-                artifact.getDataAsDouble("ld_from"),
-                artifact.getDataAsDouble("ld_to"));
+                getFrom(),
+                getTo());
     }
 }
 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org