From 1e1f1c3fb43f8acf942a3e583c13f4605996c301 Mon Sep 17 00:00:00 2001 From: Saikrishna Arcot Date: Tue, 14 Oct 2014 23:17:08 -0400 Subject: [PATCH] Rename getLanesInfo() to assignLanesInfo() --- .../src/net/osmand/router/RouteResultPreparation.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/OsmAnd-java/src/net/osmand/router/RouteResultPreparation.java b/OsmAnd-java/src/net/osmand/router/RouteResultPreparation.java index 1bff74d1aa..7840414410 100644 --- a/OsmAnd-java/src/net/osmand/router/RouteResultPreparation.java +++ b/OsmAnd-java/src/net/osmand/router/RouteResultPreparation.java @@ -439,7 +439,7 @@ public class RouteResultPreparation { } else { t = TurnType.valueOf(TurnType.TU, leftSide); } - getLanesInfo(prev, t, leftSide); + assignLanesInfo(prev, t, leftSide); } else if (mpi < -TURN_DEGREE_MIN) { if (mpi > -60) { t = TurnType.valueOf(TurnType.TSLR, leftSide); @@ -450,7 +450,7 @@ public class RouteResultPreparation { } else { t = TurnType.valueOf(TurnType.TU, leftSide); } - getLanesInfo(prev, t, leftSide); + assignLanesInfo(prev, t, leftSide); } else { t = attachKeepLeftInfoAndLanes(leftSide, prev, rr, t); } @@ -461,7 +461,7 @@ public class RouteResultPreparation { return t; } - private void getLanesInfo(RouteSegmentResult prevSegm, TurnType t, boolean leftSide) { + private void assignLanesInfo(RouteSegmentResult prevSegm, TurnType t, boolean leftSide) { int lanes = prevSegm.getObject().getLanes(); if (prevSegm.getObject().getOneway() == 0) { lanes = countLanes(prevSegm, lanes);