Skip to content

Commit

Permalink
remove token
Browse files Browse the repository at this point in the history
  • Loading branch information
Katsute authored Mar 19, 2024
1 parent a76c01c commit 0b0d605
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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")),
Expand Down
1 change: 0 additions & 1 deletion src/main/java/dev/katsute/onemta/MTA.java
Original file line number Diff line number Diff line change
Expand Up @@ -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 <b>(required)</b> static data resource, see {@link DataResource}
* @return MTA
Expand Down
2 changes: 0 additions & 2 deletions src/test/java/dev/katsute/onemta/CompilerTests.java
Original file line number Diff line number Diff line change
Expand Up @@ -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")),
Expand Down

0 comments on commit 0b0d605

Please sign in to comment.