diff --git a/jsprit-core/src/main/java/com/graphhopper/jsprit/core/algorithm/recreate/RegretInsertionConcurrentFast.java b/jsprit-core/src/main/java/com/graphhopper/jsprit/core/algorithm/recreate/RegretInsertionConcurrentFast.java index 8e3ec97ed..f237626cf 100644 --- a/jsprit-core/src/main/java/com/graphhopper/jsprit/core/algorithm/recreate/RegretInsertionConcurrentFast.java +++ b/jsprit-core/src/main/java/com/graphhopper/jsprit/core/algorithm/recreate/RegretInsertionConcurrentFast.java @@ -44,7 +44,7 @@ public class RegretInsertionConcurrentFast extends AbstractInsertionStrategy { - private static Logger logger = LoggerFactory.getLogger(RegretInsertionConcurrentFast.class); + private static final Logger logger = LoggerFactory.getLogger(RegretInsertionConcurrentFast.class); private RegretScoringFunction regretScoringFunction; @@ -52,9 +52,9 @@ public class RegretInsertionConcurrentFast extends AbstractInsertionStrategy { private final ExecutorService executor; - private VehicleFleetManager fleetManager; + private final VehicleFleetManager fleetManager; - private Set initialVehicleIds; + private final Set initialVehicleIds; private boolean switchAllowed = true;