[Dive4elements-commits] [PATCH] Revert 6081 now that determineGauge handles bordering river sections

Wald Commits scm-commit at wald.intevation.org
Mon May 27 15:03:03 CEST 2013


# HG changeset patch
# User Andre Heinecke <aheinecke at intevation.de>
# Date 1369659780 -7200
# Node ID e296c05a0c5bf88aa30ad8536449e08934911446
# Parent  776229dd5bf724259a69372356f499f98874d3ed
Revert 6081 now that determineGauge handles bordering river sections

diff -r 776229dd5bf7 -r e296c05a0c5b artifacts/src/main/java/org/dive4elements/river/artifacts/services/MainValuesService.java
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/services/MainValuesService.java	Mon May 27 15:00:34 2013 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/services/MainValuesService.java	Mon May 27 15:03:00 2013 +0200
@@ -79,7 +79,7 @@
         }
 
         double[] minmax = getRequestedStartEnd(data, river);
-        Gauge gauge = river.maxOverlap(minmax[0], minmax[1]);
+        Gauge gauge = river.determineGauge(minmax[0], minmax[1]);
 
         if (gauge == null) {
             return error("no gauge found.");


More information about the Dive4elements-commits mailing list