From 50f64b36bdee16beda62605c15fb3c4b546130e1 Mon Sep 17 00:00:00 2001 From: sonora Date: Sat, 5 Sep 2015 16:59:42 +0200 Subject: [PATCH] remove obsolete comments --- OsmAnd/src/net/osmand/plus/routing/VoiceRouter.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/routing/VoiceRouter.java b/OsmAnd/src/net/osmand/plus/routing/VoiceRouter.java index 899da44081..746f2dcf06 100644 --- a/OsmAnd/src/net/osmand/plus/routing/VoiceRouter.java +++ b/OsmAnd/src/net/osmand/plus/routing/VoiceRouter.java @@ -474,7 +474,6 @@ public class VoiceRouter { playAndArriveAtDestination(repeat, nextInfo, currentSegment); } nextStatusAfter(STATUS_TURN_IN); - // } else if (statusNotPassed(STATUS_PREPARE) && isDistanceLess(speed, dist, PREPARE_DISTANCE, 0f)) { } else if ((repeat || statusNotPassed(STATUS_PREPARE)) && (dist <= PREPARE_DISTANCE)) { if (repeat || dist >= PREPARE_DISTANCE_END) { if (!repeat && (next.getTurnType().keepLeft() || next.getTurnType().keepRight())){ @@ -485,7 +484,6 @@ public class VoiceRouter { } } nextStatusAfter(STATUS_PREPARE); - // } else if (statusNotPassed(STATUS_LONG_PREPARE) && isDistanceLess(speed, dist, PREPARE_LONG_DISTANCE, 0f)){ } else if ((repeat || statusNotPassed(STATUS_LONG_PREPARE)) && (dist <= PREPARE_LONG_DISTANCE)) { if (repeat || dist >= PREPARE_LONG_DISTANCE_END) { playPrepareTurn(currentSegment, next, dist);