[PATCH 1 of 4] Remove obsolete code

Wald Commits scm-commit at wald.intevation.org
Mon Mar 30 19:29:37 CEST 2015


# HG changeset patch
# User Andre Heinecke <andre.heinecke at intevation.de>
# Date 1427735495 -7200
# Node ID 5c4766ac20ba7cf743a1da9b8e75098758126503
# Parent  c15cebcf60daebff92cd1398b89a61f8bba6a7d3
Remove obsolete code.

diff -r c15cebcf60da -r 5c4766ac20ba artifacts/src/main/java/org/dive4elements/river/artifacts/access/BedHeightAccess.java
--- 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");
diff -r c15cebcf60da -r 5c4766ac20ba artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/MiddleBedHeightCalculation.java
--- 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>();
 


More information about the Dive4Elements-commits mailing list