mirror of
https://github.com/graphhopper/jsprit.git
synced 2020-01-24 07:45:05 +01:00
remove restriction that serviceTime param needs to be positive
This commit is contained in:
parent
b86bdc5c8a
commit
56e51d7efd
1 changed files with 0 additions and 1 deletions
|
|
@ -210,7 +210,6 @@ public class VehicleTypeImpl implements VehicleType {
|
|||
}
|
||||
|
||||
public VehicleTypeImpl.Builder setCostPerServiceTime(double perServiceTime) {
|
||||
if (perServiceTime < 0.0) throw new IllegalStateException();
|
||||
this.perServiceTime = perServiceTime;
|
||||
return this;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue