From 0852ccaeda65a17641b17be215a34e7343d3ef08 Mon Sep 17 00:00:00 2001 From: oblonski Date: Thu, 14 Nov 2024 10:48:59 +0100 Subject: [PATCH] finalize --- .../algorithm/recreate/RegretInsertionConcurrentFast.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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;