diff --git a/src/main/java/org/matsim/analysis/ParkedVehiclesAnalysis.java b/src/main/java/org/matsim/analysis/ParkedVehiclesAnalysis.java index 335e5f1f..1975779a 100644 --- a/src/main/java/org/matsim/analysis/ParkedVehiclesAnalysis.java +++ b/src/main/java/org/matsim/analysis/ParkedVehiclesAnalysis.java @@ -116,7 +116,7 @@ public Integer call() throws Exception { for (Vehicle vehicle : vehicles.getVehicles().values()) { //only count car vehicles, i.e. do not count bikes, freight vehicles or ride vehicles. - if(vehicle.getType().getId().toString().equals("car")){ + if (vehicle.getType().getId().toString().equals("car")){ List dummyList = new ArrayList<>(); parkingTracker.put(vehicle.getId(), dummyList); }