Skip to content

Commit

Permalink
core: implement HasVehicleId in VehicleLeavesTrafficEvent
Browse files Browse the repository at this point in the history
  • Loading branch information
michalmac committed Dec 27, 2023
1 parent c05b1fe commit e2a59a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
import org.matsim.api.core.v01.population.Person;
import org.matsim.vehicles.Vehicle;

public class VehicleEntersTrafficEvent extends Event implements HasPersonId, HasLinkId, HasVehicleId{
public class VehicleEntersTrafficEvent extends Event implements HasPersonId, HasLinkId, HasVehicleId {

public static final String EVENT_TYPE = "vehicle enters traffic";
public static final String ATTRIBUTE_NETWORKMODE = "networkMode";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
import org.matsim.api.core.v01.population.Person;
import org.matsim.vehicles.Vehicle;

public class VehicleLeavesTrafficEvent extends Event implements HasPersonId, HasLinkId {
public class VehicleLeavesTrafficEvent extends Event implements HasPersonId, HasLinkId, HasVehicleId {

public static final String EVENT_TYPE = "vehicle leaves traffic";
public static final String ATTRIBUTE_VEHICLE = "vehicle";
Expand Down

0 comments on commit e2a59a3

Please sign in to comment.