changeset 2103:b9f7ec9bda18

Removed call to removed functions. flys-artifacts/trunk@3660 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Thu, 12 Jan 2012 12:22:40 +0000
parents 16e74c5e636f
children bb0dede9294f
files flys-artifacts/ChangeLog flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/WaterlevelInfoState.java
diffstat 2 files changed, 5 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog	Thu Jan 12 12:20:56 2012 +0000
+++ b/flys-artifacts/ChangeLog	Thu Jan 12 12:22:40 2012 +0000
@@ -1,3 +1,8 @@
+2011-01-12	Felix Wolfsteller	<felix.wolfsteller@intevation.de>
+
+	* src/main/java/de/intevation/flys/artifacts/states/WaterlevelInfoState.java:
+	  Do not intefere with CrossSections.
+
 2011-01-12	Felix Wolfsteller	<felix.wolfsteller@intevation.de>
 
 	Cosmetics, cleanups.
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/WaterlevelInfoState.java	Thu Jan 12 12:20:56 2012 +0000
+++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/WaterlevelInfoState.java	Thu Jan 12 12:22:40 2012 +0000
@@ -105,12 +105,6 @@
             facets.add(new ReportFacet(ComputeType.ADVANCE, hash, id));
         }
 
-        // Also register the CrossSectionFacets (added to respective out).
-        int idx = 0;
-        for (String name: winfo.getCrossSectionNames()) {
-            facets.add(new CrossSectionFacet(idx++, name));
-        }
-
         // TODO Adjust to WaterlevelState - implementation.
         facets.add(new CrossSectionWaterLineFacet(0, "Q=" + winfo.getDataAsString("wq_single")));
 

http://dive4elements.wald.intevation.org