mirror of
https://github.com/graphhopper/jsprit.git
synced 2020-01-24 07:45:05 +01:00
remove unnecessary exception in costUpdater
This commit is contained in:
parent
6664fa03a4
commit
6cacfcddb1
1 changed files with 0 additions and 4 deletions
|
|
@ -247,10 +247,6 @@ class StateUpdates {
|
|||
|
||||
vehicleRoute.getVehicleRouteCostCalculator().addTransportCost(transportCost);
|
||||
vehicleRoute.getVehicleRouteCostCalculator().addActivityCost(actCost);
|
||||
|
||||
if(transportCost > 10000 || actCost > 100000){
|
||||
throw new IllegalStateException("aaaääähh");
|
||||
}
|
||||
|
||||
totalOperationCost += transportCost;
|
||||
totalOperationCost += actCost;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue