diff --git a/README.md b/README.md index 98ce2d9..0d66009 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,6 @@ Compiled binaries can be installed from: ```java MTA mta = MTA.create( busToken, - subwayToken, DataResource.create(DataResourceType.Bus_Bronx, new File("google_transit_bronx.zip")), DataResource.create(DataResourceType.Bus_Brooklyn, new File("google_transit_brooklyn.zip")), DataResource.create(DataResourceType.Bus_Manhattan, new File("google_transit_manhattan.zip")), diff --git a/src/main/java/dev/katsute/onemta/MTA.java b/src/main/java/dev/katsute/onemta/MTA.java index 28ba77d..6479568 100644 --- a/src/main/java/dev/katsute/onemta/MTA.java +++ b/src/main/java/dev/katsute/onemta/MTA.java @@ -56,7 +56,6 @@ public static MTA create(final String busToken, final DataResource... resources) * Creates an MTA API interface. Note that bus alerts require a subway token. * * @param busToken bus token - * @param subwayToken subway token * @param cacheSeconds how long to cache responses for * @param resources (required) static data resource, see {@link DataResource} * @return MTA diff --git a/src/test/java/dev/katsute/onemta/CompilerTests.java b/src/test/java/dev/katsute/onemta/CompilerTests.java index fdc68f7..57ea4fd 100644 --- a/src/test/java/dev/katsute/onemta/CompilerTests.java +++ b/src/test/java/dev/katsute/onemta/CompilerTests.java @@ -13,13 +13,11 @@ abstract class CompilerTests { @SuppressWarnings("SpellCheckingInspection") private void setup(){ String busToken = ""; - String subwayToken = ""; // setup MTA mta = MTA.create( busToken, - subwayToken, DataResource.create(DataResourceType.Bus_Bronx, new File("google_transit_bronx.zip")), DataResource.create(DataResourceType.Bus_Brooklyn, new File("google_transit_brooklyn.zip")), DataResource.create(DataResourceType.Bus_Manhattan, new File("google_transit_manhattan.zip")),