Update transport rotues
This commit is contained in:
parent
52fec9c7cc
commit
e5bd6cb065
1 changed files with 1 additions and 0 deletions
|
@ -982,6 +982,7 @@ public class TransportRoutePlanner {
|
||||||
}
|
}
|
||||||
|
|
||||||
} else if(lastSegment != null) {
|
} else if(lastSegment != null) {
|
||||||
|
sortedSegments.add(lastSegment);
|
||||||
while(!mergedSegments.isEmpty()) {
|
while(!mergedSegments.isEmpty()) {
|
||||||
List<TransportStop> first = sortedSegments.get(0);
|
List<TransportStop> first = sortedSegments.get(0);
|
||||||
List<TransportStop> add = findAndDeleteMinDistance(first.get(0).getLocation(), mergedSegments, false);
|
List<TransportStop> add = findAndDeleteMinDistance(first.get(0).getLocation(), mergedSegments, false);
|
||||||
|
|
Loading…
Reference in a new issue