Skip to content

Commit

Permalink
format fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
sharhio committed Jun 5, 2024
1 parent 2f767d8 commit 84fdf2a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public class HSLRoutePreferencesSource implements RoutePreferencesSource {
public void setRoutePreferences(RoutingRequest routingRequest, Graph graph) {
// Either U_ROUTE_REGEX or ESPOO_FAST_ROUTES_REGEX
Pattern patternsCombined = Pattern.compile(String.format(
"(%s|%s)", U_ROUTE_REGEX, ESPOO_FAST_ROUTES_REGEX, SINGLE_ROUTES_REGEX));
"(%s|%s|%s)", U_ROUTE_REGEX, ESPOO_FAST_ROUTES_REGEX, SINGLE_ROUTES_REGEX));
for (Route route : graph.index.routeForId.values()) {
FeedScopedId routeId = route.getId();
Matcher matcher = patternsCombined.matcher(routeId.toString());
Expand Down

0 comments on commit 84fdf2a

Please sign in to comment.