Skip to content

Commit

Permalink
Merge pull request #735 from afischerdev/code-clean
Browse files Browse the repository at this point in the history
Updated for cleaning
  • Loading branch information
afischerdev authored Oct 2, 2024
2 parents 1e6c409 + fa8125a commit 218a088
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 218a088

Please sign in to comment.