Update transport rotues

This commit is contained in:
Victor Shcherb 2020-05-16 16:49:17 +02:00
parent 52fec9c7cc
commit e5bd6cb065

View file

@ -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);