From fa8125a6acf3eda12dc7cd58beeb3a450d2c02c8 Mon Sep 17 00:00:00 2001 From: afischerdev Date: Sat, 21 Sep 2024 13:00:11 +0200 Subject: [PATCH] updated for cleaning --- brouter-core/src/main/java/btools/router/OsmTrack.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/brouter-core/src/main/java/btools/router/OsmTrack.java b/brouter-core/src/main/java/btools/router/OsmTrack.java index 859fdc87..8429aaef 100644 --- a/brouter-core/src/main/java/btools/router/OsmTrack.java +++ b/brouter-core/src/main/java/btools/router/OsmTrack.java @@ -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; } @@ -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; }