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:48:44 +02:00
parent 6664fa03a4
commit 6cacfcddb1

View file

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