mirror of
https://github.com/graphhopper/jsprit.git
synced 2020-01-24 07:45:05 +01:00
bugfix #154
This commit is contained in:
parent
545eb71b46
commit
a893fd9dc7
1 changed files with 2 additions and 2 deletions
|
|
@ -81,7 +81,7 @@ class Inserter {
|
|||
}
|
||||
|
||||
private void setEndLocation(VehicleRoute route, Service service) {
|
||||
route.getEnd().setLocationId(service.getLocation().getId());
|
||||
route.getEnd().setLocation(service.getLocation());
|
||||
}
|
||||
|
||||
public void setNextHandler(JobInsertionHandler jobInsertionHandler){
|
||||
|
|
@ -121,7 +121,7 @@ class Inserter {
|
|||
}
|
||||
|
||||
private void setEndLocation(VehicleRoute route, Shipment shipment) {
|
||||
route.getEnd().setLocationId(shipment.getDeliveryLocation().getId());
|
||||
route.getEnd().setLocation(shipment.getDeliveryLocation());
|
||||
}
|
||||
|
||||
public void setNextHandler(JobInsertionHandler jobInsertionHandler){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue