[Dive4elements-commits] [PATCH] Use gauge name instead of gauge to fill 'messstelleninfo'

Wald Commits scm-commit at wald.intevation.org
Thu Mar 28 13:20:04 CET 2013


# HG changeset patch
# User Raimund Renkert <rrenkert at intevation.de>
# Date 1364473153 -3600
# Node ID 5d99cd6e146a56df3f9357b9880fd2d877928c0d
# Parent  23d8f2700b383baf1eab10ee916b91d6e514481c
Use gauge name instead of gauge to fill 'messstelleninfo'.

diff -r 23d8f2700b38 -r 5d99cd6e146a flys-artifacts/src/main/java/de/intevation/flys/artifacts/services/MeasurementStationInfoService.java
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/services/MeasurementStationInfoService.java	Thu Mar 28 12:39:14 2013 +0100
+++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/services/MeasurementStationInfoService.java	Thu Mar 28 13:19:13 2013 +0100
@@ -106,8 +106,7 @@
                 }
             }
 
-            Gauge gauge = mstation.getGauge();
-            String gaugename = gauge.getName();
+            String gaugename= mstation.getGaugeName();
 
             if (gaugename != null) {
                 Element egauge = ec.create("gauge");


More information about the Dive4elements-commits mailing list