Skip to content

Commit c5fa00d

Browse files
committed
remove comment
Signed-off-by: Janek Laudan <laudan@simunto.com>
1 parent 504c3fb commit c5fa00d

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

contribs/ev/src/main/java/org/matsim/contrib/ev/fleet/GlobalElectricFleet.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,7 @@ public class GlobalElectricFleet implements ElectricFleet {
2323
.map(s -> ElectricFleetUtils.create(s, driveEnergyConsumptionFactory, auxEnergyConsumptionFactory, chargingPowerFactory))
2424
.collect(Collectors.toMap(ElectricVehicle::getId, v -> v));
2525
}
26-
27-
// we do this lazy initialization hoop in combination with hasVehicle, as some modules call this fleet from within a VehicleEntersTrafficEventHandler.
28-
// Since we don't know the order in which handlers are called, we cannot use that hook to lazily create EVs. Hence, we need to do it here.
26+
2927
@Override
3028
public ElectricVehicle getVehicle(Id<Vehicle> vehicleId) {
3129
return electricVehicles.get(vehicleId);

0 commit comments

Comments
 (0)