From 3293e7d27ca63f3f1619e61ca46ba7868b543144 Mon Sep 17 00:00:00 2001 From: oblonski Date: Mon, 17 Feb 2025 16:59:38 +0100 Subject: [PATCH] camelCase --- .../jsprit/core/problem/VehicleRoutingProblem.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/jsprit-core/src/main/java/com/graphhopper/jsprit/core/problem/VehicleRoutingProblem.java b/jsprit-core/src/main/java/com/graphhopper/jsprit/core/problem/VehicleRoutingProblem.java index 841539715..ca5386ded 100644 --- a/jsprit-core/src/main/java/com/graphhopper/jsprit/core/problem/VehicleRoutingProblem.java +++ b/jsprit-core/src/main/java/com/graphhopper/jsprit/core/problem/VehicleRoutingProblem.java @@ -83,7 +83,7 @@ public static Builder newInstance() { private final Map jobsInInitialRoutes = new LinkedHashMap<>(); - private final Map tentative_coordinates = new HashMap<>(); + private final Map tentativeCoordinates = new HashMap<>(); private FleetSize fleetSize = FleetSize.INFINITE; @@ -143,7 +143,7 @@ private void incVehicleTypeIdIndexCounter() { * @return map with locations */ public Map getLocationMap() { - return Collections.unmodifiableMap(tentative_coordinates); + return Collections.unmodifiableMap(tentativeCoordinates); } @@ -156,7 +156,7 @@ public Map getLocationMap() { * @return locations */ public Locations getLocations() { - return tentative_coordinates::get; + return tentativeCoordinates::get; } /** @@ -232,7 +232,7 @@ private void addLocationToTentativeLocations(Job job) { private void addLocationToTentativeLocations(Location location) { if (location == null) return; - tentative_coordinates.put(location.getId(), location.getCoordinate()); + tentativeCoordinates.put(location.getId(), location.getCoordinate()); allLocations.add(location); } @@ -447,7 +447,7 @@ public VehicleRoutingProblem build() { @Deprecated public Builder addLocation(String locationId, Coordinate coordinate) { - tentative_coordinates.put(locationId, coordinate); + tentativeCoordinates.put(locationId, coordinate); return this; }