changeset 2044:5d6e82abe859

Cosmetics, removed uncalled code path. flys-artifacts/trunk@3530 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Thu, 22 Dec 2011 12:56:46 +0000
parents 8dec3bd9f2f6
children d13be39cfd1d
files flys-artifacts/ChangeLog flys-artifacts/src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java
diffstat 2 files changed, 5 insertions(+), 15 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog	Thu Dec 22 12:54:59 2011 +0000
+++ b/flys-artifacts/ChangeLog	Thu Dec 22 12:56:46 2011 +0000
@@ -1,3 +1,8 @@
+2011-12-22	Felix Wolfsteller	<felix.wolfsteller@intevation.de>
+
+	* src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
+	  (getKm): Removed, not called anymore.
+
 2011-12-22	Felix Wolfsteller	<felix.wolfsteller@intevation.de>
 
 	* src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java:
--- a/flys-artifacts/src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java	Thu Dec 22 12:54:59 2011 +0000
+++ b/flys-artifacts/src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java	Thu Dec 22 12:56:46 2011 +0000
@@ -107,21 +107,6 @@
 
 
     /**
-     * Get cross_section.km data from artifact.
-     */
-    protected Double getKm() {
-        try {
-            WINFOArtifact winfo = (WINFOArtifact) master;
-            return winfo.getCrossSectionKm();
-        }
-        catch (Exception e) {
-            logger.warn("Cannot convert cross_section.km to double.");
-            return 0.0d;
-        }
-    }
-
-
-    /**
      * Get localized Y Axis label.
      */
     protected String getYAxisLabel() {

http://dive4elements.wald.intevation.org