public void setTurnDistance(int nextTurnDistance) { if (RouteInfoWidgetsFactory.distChanged(nextTurnDistance, this.nextTurnDistance)) { this.nextTurnDistance = nextTurnDistance; updateDistance(); } }
public void setDeviatePath(int deviatePath) { if (RouteInfoWidgetsFactory.distChanged(deviatePath, this.deviatedPath)) { this.deviatedPath = deviatePath; updateDistance(); } }