diff flys-artifacts/src/main/java/de/intevation/flys/artifacts/services/MeasurementStationInfoService.java @ 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 3937c6a85db4
children 57f802db5c5a
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