[Dive4elements-commits] [PATCH 2 of 2] BedHeightAccess: Use getFrom/getTo

Wald Commits scm-commit at wald.intevation.org
Mon Jan 21 17:29:11 CET 2013


# HG changeset patch
# User Felix Wolfsteller <felix.wolfsteller at intevation.de>
# Date 1358786126 -3600
# Node ID cb4cc64144472ca7b52be881a1f969f8362fd170
# Parent  15e55fdbb4028017c87491f051734effbb3a6cdc
BedHeightAccess: Use getFrom/getTo.

diff -r 15e55fdbb402 -r cb4cc6414447 flys-artifacts/src/main/java/de/intevation/flys/artifacts/access/BedHeightAccess.java
--- 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 :


More information about the Dive4elements-commits mailing list