From e2a59a31a740907fe8578da0890e01aa1ef0bdc9 Mon Sep 17 00:00:00 2001 From: Michal Maciejewski Date: Wed, 27 Dec 2023 17:34:59 +0100 Subject: [PATCH] core: implement HasVehicleId in VehicleLeavesTrafficEvent --- .../matsim/api/core/v01/events/VehicleEntersTrafficEvent.java | 2 +- .../matsim/api/core/v01/events/VehicleLeavesTrafficEvent.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/matsim/src/main/java/org/matsim/api/core/v01/events/VehicleEntersTrafficEvent.java b/matsim/src/main/java/org/matsim/api/core/v01/events/VehicleEntersTrafficEvent.java index cf467b6c3c2..3e3968ccd4d 100644 --- a/matsim/src/main/java/org/matsim/api/core/v01/events/VehicleEntersTrafficEvent.java +++ b/matsim/src/main/java/org/matsim/api/core/v01/events/VehicleEntersTrafficEvent.java @@ -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"; diff --git a/matsim/src/main/java/org/matsim/api/core/v01/events/VehicleLeavesTrafficEvent.java b/matsim/src/main/java/org/matsim/api/core/v01/events/VehicleLeavesTrafficEvent.java index e39910597bb..00f00a4ec80 100644 --- a/matsim/src/main/java/org/matsim/api/core/v01/events/VehicleLeavesTrafficEvent.java +++ b/matsim/src/main/java/org/matsim/api/core/v01/events/VehicleLeavesTrafficEvent.java @@ -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";