Skip to content

Commit

Permalink
Make checkstyle happy
Browse files Browse the repository at this point in the history
  • Loading branch information
janekdererste committed Jan 29, 2024
1 parent 2c3ac23 commit 7ac41ce
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ final class FacilityIndex {
*/
final Map<String, STRtree> index = new HashMap<>();

public FacilityIndex(String facilityPath) {
FacilityIndex(String facilityPath) {

new MatsimFacilitiesReader(RunOpenBerlinScenario.CRS, RunOpenBerlinScenario.CRS, all)
.readFile(facilityPath);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;

Expand Down Expand Up @@ -92,9 +87,9 @@ public class InitLocationChoice implements MATSimAppCommand, PersonAlgorithm {

private ThreadLocal<Context> ctxs;

private AtomicLong total = new AtomicLong();
private final AtomicLong total = new AtomicLong();

private AtomicLong warning = new AtomicLong();
private final AtomicLong warning = new AtomicLong();

public static void main(String[] args) {
new InitLocationChoice().execute(args);
Expand Down
3 changes: 3 additions & 0 deletions src/main/java/org/matsim/run/RunQsimComparison.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@
import java.time.Duration;
import java.time.Instant;

/**
* This class runs one iteration of MATSim and tracks the execution time into a csv file.
*/
public class RunQsimComparison extends RunOpenBerlinScenario {

public static void main(String[] args) {
Expand Down

0 comments on commit 7ac41ce

Please sign in to comment.