Merge remote-tracking branch 'origin/master'

This commit is contained in:
Weblate 2017-02-23 00:13:48 +01:00
commit dd705b04a2

View file

@ -443,7 +443,7 @@ public class WaypointHelper {
} }
public void clearAllVisiblePoints() { public void clearAllVisiblePoints() {
//this.locationPointsStates.clear(); this.locationPointsStates.clear();
this.locationPoints = new ArrayList<List<LocationPointWrapper>>(); this.locationPoints = new ArrayList<List<LocationPointWrapper>>();
} }
@ -532,7 +532,7 @@ public class WaypointHelper {
protected synchronized void setLocationPoints(List<List<LocationPointWrapper>> locationPoints, RouteCalculationResult route) { protected synchronized void setLocationPoints(List<List<LocationPointWrapper>> locationPoints, RouteCalculationResult route) {
this.locationPoints = locationPoints; this.locationPoints = locationPoints;
//this.locationPointsStates.clear(); this.locationPointsStates.clear();
TIntArrayList list = new TIntArrayList(locationPoints.size()); TIntArrayList list = new TIntArrayList(locationPoints.size());
list.fill(0, locationPoints.size(), 0); list.fill(0, locationPoints.size(), 0);
this.pointsProgress = list; this.pointsProgress = list;