Skip to content
This repository has been archived by the owner on Nov 29, 2024. It is now read-only.

Commit

Permalink
remove dependency to vsp contrib, as it is no longer needed
Browse files Browse the repository at this point in the history
update import for annotation

remove NotNull annotation
  • Loading branch information
kt86 committed Nov 15, 2024
1 parent 0a26470 commit 97b6937
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 10 deletions.
6 changes: 0 additions & 6 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,6 @@
<version>${project.parent.version}</version>
</dependency>

<dependency>
<groupId>org.matsim.contrib</groupId>
<artifactId>vsp</artifactId>
<version>${project.parent.version}</version>
</dependency>

<!--MATSim examples. Not transitive -->
<dependency>
<groupId>org.matsim</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@

import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.jetbrains.annotations.NotNull;
import org.matsim.api.core.v01.Id;
import org.matsim.api.core.v01.Scenario;
import org.matsim.api.core.v01.TransportMode;
Expand Down Expand Up @@ -173,7 +172,7 @@ private static Config prepareConfig(String[] args) {
return config;
}

private static @NotNull Controler prepareControler(Scenario scenario) {
private static Controler prepareControler(Scenario scenario) {
log.info("Prepare controler");
Controler controler = new Controler(scenario);
controler.addOverridingModule(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@

import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.jetbrains.annotations.NotNull;
import org.matsim.analysis.personMoney.PersonMoneyEventsAnalysisModule;
import org.matsim.api.core.v01.Id;
import org.matsim.api.core.v01.Scenario;
Expand Down Expand Up @@ -159,7 +158,7 @@ private static Config prepareConfig(String[] args) {
return config;
}

private static @NotNull Controler prepareControler(Scenario scenario, RoadPricingScheme rpScheme) {
private static Controler prepareControler(Scenario scenario, RoadPricingScheme rpScheme) {
log.info("Prepare controler");
Controler controler = new Controler(scenario);
controler.addOverridingModule(
Expand Down

0 comments on commit 97b6937

Please sign in to comment.