changeset 8645:5c4766ac20ba

Remove obsolete code.
author Andre Heinecke <andre.heinecke@intevation.de>
date Mon, 30 Mar 2015 19:11:35 +0200
parents c15cebcf60da
children 8e5c026216fd
files artifacts/src/main/java/org/dive4elements/river/artifacts/access/BedHeightAccess.java artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/MiddleBedHeightCalculation.java
diffstat 2 files changed, 2 insertions(+), 14 deletions(-) [+]
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/access/BedHeightAccess.java	Fri Mar 27 19:10:02 2015 +0100
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/access/BedHeightAccess.java	Mon Mar 30 19:11:35 2015 +0200
@@ -37,18 +37,6 @@
     }
 
 
-    public Double getLowerKM() {
-        // TODO update callers
-        return getFrom();
-    }
-
-
-    public Double getUpperKM() {
-        // TODO update callers
-        return getTo();
-    }
-
-
     public int[] getBedHeightIDs() {
         if (singleIDs == null) {
             String data = getString("soundings");
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/MiddleBedHeightCalculation.java	Fri Mar 27 19:10:02 2015 +0100
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/MiddleBedHeightCalculation.java	Mon Mar 30 19:11:35 2015 +0200
@@ -76,8 +76,8 @@
     ) {
         log.info("MiddleBedHeightCalculation.buildCalculationResult");
 
-        double kmLo = access.getLowerKM();
-        double kmHi = access.getUpperKM();
+        double kmLo = access.getFrom();
+        double kmHi = access.getTo();
 
         List<MiddleBedHeightData> data = new ArrayList<MiddleBedHeightData>();
 

http://dive4elements.wald.intevation.org