changeset 8648:cd5e0662f75c

(issue1754) Handle a>b in static BedHeight facets.
author Andre Heinecke <andre.heinecke@intevation.de>
date Mon, 30 Mar 2015 19:29:31 +0200
parents 5f60bd7c4b42
children 7d86194661c3
files artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/BedHeightFacet.java artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/BedHeightSoundingWidthFacet.java
diffstat 2 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/BedHeightFacet.java	Mon Mar 30 19:28:41 2015 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/BedHeightFacet.java	Mon Mar 30 19:29:31 2015 +0200
@@ -60,8 +60,8 @@
             List<BedHeightValue> bedheightValues =
                 BedHeightValue.getBedHeightValues(
                     single,
-                    access.getFrom(),
-                    access.getTo());
+                    access.getFrom(true),
+                    access.getTo(true));
             double[][] values = new double[2][bedheightValues.size()];
             int i = 0;
             for (BedHeightValue bedheightValue : bedheightValues) {
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/BedHeightSoundingWidthFacet.java	Mon Mar 30 19:28:41 2015 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/BedHeightSoundingWidthFacet.java	Mon Mar 30 19:29:31 2015 +0200
@@ -44,8 +44,8 @@
         List<BedHeightValue> bedheightValues =
             BedHeightValue.getBedHeightValues(
                 single,
-                access.getFrom(),
-                access.getTo());
+                access.getFrom(true),
+                access.getTo(true));
         double[][] values = new double[2][bedheightValues.size()];
         int i = 0;
         for (BedHeightValue bedheightValue : bedheightValues) {

http://dive4elements.wald.intevation.org