We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f80d2e0 + d5fe978 commit c09ddffCopy full SHA for c09ddff
brouter-core/src/main/java/btools/router/OsmTrack.java
@@ -550,10 +550,7 @@ int getMinDistance() {
550
}
551
552
public float getVoiceHintTime(int i) {
553
- if (voiceHints.list.isEmpty()) {
554
- return 0f;
555
- }
556
- if (i < voiceHints.list.size()) {
+ if (!voiceHints.list.isEmpty() && i < voiceHints.list.size()) {
557
return voiceHints.list.get(i).getTime();
558
559
if (nodes.isEmpty()) {
0 commit comments