Rename getLanesInfo() to assignLanesInfo()
This commit is contained in:
parent
b3b891d2ee
commit
1e1f1c3fb4
1 changed files with 3 additions and 3 deletions
|
@ -439,7 +439,7 @@ public class RouteResultPreparation {
|
||||||
} else {
|
} else {
|
||||||
t = TurnType.valueOf(TurnType.TU, leftSide);
|
t = TurnType.valueOf(TurnType.TU, leftSide);
|
||||||
}
|
}
|
||||||
getLanesInfo(prev, t, leftSide);
|
assignLanesInfo(prev, t, leftSide);
|
||||||
} else if (mpi < -TURN_DEGREE_MIN) {
|
} else if (mpi < -TURN_DEGREE_MIN) {
|
||||||
if (mpi > -60) {
|
if (mpi > -60) {
|
||||||
t = TurnType.valueOf(TurnType.TSLR, leftSide);
|
t = TurnType.valueOf(TurnType.TSLR, leftSide);
|
||||||
|
@ -450,7 +450,7 @@ public class RouteResultPreparation {
|
||||||
} else {
|
} else {
|
||||||
t = TurnType.valueOf(TurnType.TU, leftSide);
|
t = TurnType.valueOf(TurnType.TU, leftSide);
|
||||||
}
|
}
|
||||||
getLanesInfo(prev, t, leftSide);
|
assignLanesInfo(prev, t, leftSide);
|
||||||
} else {
|
} else {
|
||||||
t = attachKeepLeftInfoAndLanes(leftSide, prev, rr, t);
|
t = attachKeepLeftInfoAndLanes(leftSide, prev, rr, t);
|
||||||
}
|
}
|
||||||
|
@ -461,7 +461,7 @@ public class RouteResultPreparation {
|
||||||
return t;
|
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();
|
int lanes = prevSegm.getObject().getLanes();
|
||||||
if (prevSegm.getObject().getOneway() == 0) {
|
if (prevSegm.getObject().getOneway() == 0) {
|
||||||
lanes = countLanes(prevSegm, lanes);
|
lanes = countLanes(prevSegm, lanes);
|
||||||
|
|
Loading…
Reference in a new issue