Worst trip is not used in the RetryingPathServiceImpl

While passing on RetryingPathServiceImpl class I've noticed that lines 133-150 are never accessed, consequently the parameters for the worst path are not applied.
I've also found that the line for updating maxTime and maxWeight are marked as note. 
This commit include:
A small fix for applying worst time and worst wight.
A change of the type of maxTimeFactor, maxWeightFactor and maxWalkMultiple to double. And a change in of the modifier from private static final to just private so it can be used as configurable parameters.