1
0
Fork 0
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:
oblonski 2015-11-06 15:00:52 +01:00
parent b86bdc5c8a
commit 56e51d7efd

View file

@ -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;
}