From 846322e2fb9baf592b34c6b6f9f8674f5b6fab9d Mon Sep 17 00:00:00 2001 From: rakow Date: Wed, 31 Jan 2024 09:10:21 +0100 Subject: [PATCH] fix check style --- .../java/org/matsim/prepare/population/FacilityIndex.java | 2 +- .../org/matsim/prepare/population/InitLocationChoice.java | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/src/main/java/org/matsim/prepare/population/FacilityIndex.java b/src/main/java/org/matsim/prepare/population/FacilityIndex.java index 98b38315..f24ce9e0 100644 --- a/src/main/java/org/matsim/prepare/population/FacilityIndex.java +++ b/src/main/java/org/matsim/prepare/population/FacilityIndex.java @@ -31,7 +31,7 @@ final class FacilityIndex { */ final Map index = new HashMap<>(); - public FacilityIndex(String facilityPath) { + FacilityIndex(String facilityPath) { new MatsimFacilitiesReader(RunOpenBerlinScenario.CRS, RunOpenBerlinScenario.CRS, all) .readFile(facilityPath); diff --git a/src/main/java/org/matsim/prepare/population/InitLocationChoice.java b/src/main/java/org/matsim/prepare/population/InitLocationChoice.java index 658127f4..5dd36b68 100644 --- a/src/main/java/org/matsim/prepare/population/InitLocationChoice.java +++ b/src/main/java/org/matsim/prepare/population/InitLocationChoice.java @@ -7,7 +7,6 @@ import org.locationtech.jts.geom.Geometry; import org.locationtech.jts.index.strtree.STRtree; import org.matsim.api.core.v01.Coord; -import org.matsim.api.core.v01.Id; import org.matsim.api.core.v01.TransportMode; import org.matsim.api.core.v01.network.Link; import org.matsim.api.core.v01.network.Network; @@ -25,12 +24,8 @@ import org.matsim.core.router.TripStructureUtils; import org.matsim.core.utils.geometry.CoordUtils; import org.matsim.core.utils.geometry.geotools.MGC; -import org.matsim.facilities.ActivityFacilities; import org.matsim.facilities.ActivityFacility; -import org.matsim.facilities.FacilitiesUtils; -import org.matsim.facilities.MatsimFacilitiesReader; import org.matsim.prepare.RunOpenBerlinCalibration; -import org.matsim.run.RunOpenBerlinScenario; import org.opengis.feature.simple.SimpleFeature; import picocli.CommandLine;