1
0
Fork 0
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:
Stefan Schroeder 2013-09-10 10:49:28 +02:00
parent 6cacfcddb1
commit 7fd1f90164

View file

@ -266,10 +266,6 @@ class StateUpdates {
vehicleRoute.getVehicleRouteCostCalculator().addTransportCost(transportCost); vehicleRoute.getVehicleRouteCostCalculator().addTransportCost(transportCost);
vehicleRoute.getVehicleRouteCostCalculator().addActivityCost(actCost); vehicleRoute.getVehicleRouteCostCalculator().addActivityCost(actCost);
if(transportCost > 10000 || actCost > 100000){
throw new IllegalStateException("aaaääähh");
}
totalOperationCost += transportCost; totalOperationCost += transportCost;
totalOperationCost += actCost; totalOperationCost += actCost;