changeset 3894:4aadcb90dc77

fix issue887 (hyk in new chart). flys-artifacts/trunk@5550 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Fri, 21 Sep 2012 10:04:12 +0000
parents cfed96c53e9a
children 9e2a720ceda0
files flys-artifacts/ChangeLog flys-artifacts/src/main/java/de/intevation/flys/artifacts/HYKArtifact.java
diffstat 2 files changed, 10 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog	Fri Sep 21 09:57:41 2012 +0000
+++ b/flys-artifacts/ChangeLog	Fri Sep 21 10:04:12 2012 +0000
@@ -1,3 +1,11 @@
+2012-09-21	Felix Wolfsteller	<felix.wolfsteller@intevation.de>
+
+	Fix issue887 (HYKs in New Chart).
+
+	* src/main/java/de/intevation/flys/artifacts/HYKArtifact.java:
+	  Lower the Casting requirement to FLYSArtifact instead of
+	  WINFOArtifact.
+
 2012-09-21	Björn Ricks	<bjoern.ricks@intevation.de>
 
 	* src/main/java/de/intevation/flys/artifacts/services/GaugeOverviewInfoService.java:
@@ -10,7 +18,7 @@
 	* src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
 	  Do not extrapolate waterlines.
 
-2012-09-20	Felix Wolfsteller	<felix.wolfsteller@intevation.de>
+2012-09-21	Felix Wolfsteller	<felix.wolfsteller@intevation.de>
 
 	Better Partial issue880 (diverse DC).
 
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/HYKArtifact.java	Fri Sep 21 09:57:41 2012 +0000
+++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/HYKArtifact.java	Fri Sep 21 10:04:12 2012 +0000
@@ -105,8 +105,7 @@
         CallMeta callMeta)
     {
         logger.debug("HYKArtifact.initialize");
-        WINFOArtifact winfo = (WINFOArtifact) artifact;
-        importData(winfo, "river");
+        importData((FLYSArtifact)artifact, "river");
 
         List<Facet> fs = new ArrayList<Facet>();
 

http://dive4elements.wald.intevation.org