Skip to content

Commit

Permalink
Format code
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardehrenfried committed Jul 1, 2024
1 parent fb25066 commit ca64b50
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 23 deletions.
4 changes: 1 addition & 3 deletions src/main/java/org/opentripplanner/client/OtpApiClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,7 @@ public Stop stop(String gtfsId) throws IOException {
return deserialize(jsonNode, "/data/stop", Stop.class);
}

/**
* Use full text search to query for stops.
*/
/** Use full text search to query for stops. */
public List<Stop> stopSearch(String nameMask) throws IOException {
var stopQuery = GraphQLQueries.stops();
var formattedQuery = stopQuery.formatted(nameMask);
Expand Down
40 changes: 20 additions & 20 deletions src/main/java/org/opentripplanner/client/model/VehicleMode.java
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
package org.opentripplanner.client.model;

public enum VehicleMode {
AIRPLANE,
BICYCLE,
BUS,
CABLE_CAR,
CAR,
COACH,
FERRY,
FLEX,
FUNICULAR,
GONDOLA,
RAIL,
SCOOTER,
SUBWAY,
TRAM,
CARPOOL,
TAXI,
TRANSIT,
WALK,
TROLLEYBUS,
MONORAIL
AIRPLANE,
BICYCLE,
BUS,
CABLE_CAR,
CAR,
COACH,
FERRY,
FLEX,
FUNICULAR,
GONDOLA,
RAIL,
SCOOTER,
SUBWAY,
TRAM,
CARPOOL,
TAXI,
TRANSIT,
WALK,
TROLLEYBUS,
MONORAIL
}

0 comments on commit ca64b50

Please sign in to comment.