Skip to content

Commit

Permalink
updated for cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
afischerdev committed Sep 21, 2024
1 parent 1e6c409 commit fa8125a
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions brouter-core/src/main/java/btools/router/OsmTrack.java
Original file line number Diff line number Diff line change
Expand Up @@ -459,8 +459,6 @@ public void processVoiceHints(RoutingContext rc) {
int i = nodeNr;
OsmPathElement node = nodes.get(nodeNr);
while (node != null) {
if (node.origin != null) {
}
node = node.origin;
}

Expand Down Expand Up @@ -497,11 +495,12 @@ public void processVoiceHints(RoutingContext rc) {
input.addBadWay(startSection(e, node.origin));
h = h.nextHolder;
}
} else if (nodeNr == 0 && detours != null) {
}
/* else if (nodeNr == 0 && detours != null) {
OsmPathElementHolder h = detours;
OsmPathElement e = h.node;
input.addBadWay(startSection(e, e));
}
} */
}
node = node.origin;
}
Expand Down

0 comments on commit fa8125a

Please sign in to comment.