Skip to content

Commit

Permalink
refactor: Adapt to new naming
Browse files Browse the repository at this point in the history
  • Loading branch information
hoelger committed Jan 6, 2025
1 parent 30d54d5 commit ece5f06
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,11 @@ public double getLength() {
}

@SuppressWarnings("unused")
public int getAmountOfVehiclesOnSegment() {
public int getNumberOfVehicles() {
return lastLaneAreaInfo == null ? 0 : Math.max(0, lastLaneAreaInfo.getVehicleCount());
}

public int getAmountOfHaltingVehiclesOnSegment() {
public int getNumberOfHaltingVehicles() {
return lastLaneAreaInfo == null ? 0 : Math.max(0, lastLaneAreaInfo.getHaltingVehicles());
}

Expand Down

0 comments on commit ece5f06

Please sign in to comment.