mirror of
https://github.com/graphhopper/jsprit.git
synced 2020-01-24 07:45:05 +01:00
Merge branch 'master' into routes-with-specified-start-and-end
This commit is contained in:
commit
e332cf3c17
1 changed files with 1 additions and 1 deletions
|
|
@ -393,8 +393,8 @@ public class VrpXMLReader{
|
|||
String serviceLocationId = serviceConfig.getString("locationId");
|
||||
builder.setLocationId(serviceLocationId);
|
||||
Coordinate serviceCoord = getCoord(serviceConfig,"");
|
||||
builder.setCoord(serviceCoord);
|
||||
if(serviceCoord != null){
|
||||
builder.setCoord(serviceCoord);
|
||||
if(serviceLocationId != null){
|
||||
vrpBuilder.addLocation(serviceLocationId,serviceCoord);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue