changeset 5497:5d99cd6e146a

Use gauge name instead of gauge to fill 'messstelleninfo'.
author Raimund Renkert <rrenkert@intevation.de>
date Thu, 28 Mar 2013 13:19:13 +0100
parents 23d8f2700b38
children d459a885c51f
files flys-artifacts/src/main/java/de/intevation/flys/artifacts/services/MeasurementStationInfoService.java
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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");

http://dive4elements.wald.intevation.org