Skip to content

Commit

Permalink
camelCase
Browse files Browse the repository at this point in the history
  • Loading branch information
oblonski committed Feb 17, 2025
1 parent 3c6bb51 commit 3293e7d
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public static Builder newInstance() {

private final Map<String, Job> jobsInInitialRoutes = new LinkedHashMap<>();

private final Map<String, Coordinate> tentative_coordinates = new HashMap<>();
private final Map<String, Coordinate> tentativeCoordinates = new HashMap<>();

private FleetSize fleetSize = FleetSize.INFINITE;

Expand Down Expand Up @@ -143,7 +143,7 @@ private void incVehicleTypeIdIndexCounter() {
* @return map with locations
*/
public Map<String, Coordinate> getLocationMap() {
return Collections.unmodifiableMap(tentative_coordinates);
return Collections.unmodifiableMap(tentativeCoordinates);
}


Expand All @@ -156,7 +156,7 @@ public Map<String, Coordinate> getLocationMap() {
* @return locations
*/
public Locations getLocations() {
return tentative_coordinates::get;
return tentativeCoordinates::get;
}

/**
Expand Down Expand Up @@ -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);
}

Expand Down Expand Up @@ -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;
}

Expand Down

0 comments on commit 3293e7d

Please sign in to comment.