From 25a1e03d7d79bf87ee0543067bce6de0614f0653 Mon Sep 17 00:00:00 2001 From: Victor Shcherb Date: Fri, 10 Feb 2017 18:44:11 +0100 Subject: [PATCH] Remove unused parameter --- OsmAnd-java/src/net/osmand/router/BinaryRoutePlanner.java | 2 +- OsmAnd-java/src/net/osmand/router/GeneralRouter.java | 2 +- OsmAnd-java/src/net/osmand/router/VehicleRouter.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/OsmAnd-java/src/net/osmand/router/BinaryRoutePlanner.java b/OsmAnd-java/src/net/osmand/router/BinaryRoutePlanner.java index 8871def3d7..8e68af2ce9 100644 --- a/OsmAnd-java/src/net/osmand/router/BinaryRoutePlanner.java +++ b/OsmAnd-java/src/net/osmand/router/BinaryRoutePlanner.java @@ -447,7 +447,7 @@ public class BinaryRoutePlanner { continue; } double heightObstacle = ctx.getRouter().defineHeightObstacle(road, !reverseWaySearch ? prevInd : segmentPoint, - !reverseWaySearch ? segmentPoint : prevInd, segmentDist); + !reverseWaySearch ? segmentPoint : prevInd); if(heightObstacle > 0) { } diff --git a/OsmAnd-java/src/net/osmand/router/GeneralRouter.java b/OsmAnd-java/src/net/osmand/router/GeneralRouter.java index f142cf7ccf..e4e232607f 100644 --- a/OsmAnd-java/src/net/osmand/router/GeneralRouter.java +++ b/OsmAnd-java/src/net/osmand/router/GeneralRouter.java @@ -288,7 +288,7 @@ public class GeneralRouter implements VehicleRouter { } @Override - public double defineHeightObstacle(RouteDataObject road, short startIndex, short endIndex, float distance) { + public double defineHeightObstacle(RouteDataObject road, short startIndex, short endIndex) { if(!heightObstacles) { return 0; } diff --git a/OsmAnd-java/src/net/osmand/router/VehicleRouter.java b/OsmAnd-java/src/net/osmand/router/VehicleRouter.java index 0971b4afc3..c49ac1a6b8 100644 --- a/OsmAnd-java/src/net/osmand/router/VehicleRouter.java +++ b/OsmAnd-java/src/net/osmand/router/VehicleRouter.java @@ -35,7 +35,7 @@ public interface VehicleRouter { /** * return delay in seconds for height obstacles */ - public double defineHeightObstacle(RouteDataObject road, short startIndex, short endIndex, float distance); + public double defineHeightObstacle(RouteDataObject road, short startIndex, short endIndex); /** * return delay in seconds (0 no obstacles)