From 27bc21d99d9d5e2e1731abe00dc53d73a676e27f Mon Sep 17 00:00:00 2001 From: Janne Antikainen Date: Fri, 26 Aug 2022 09:46:02 +0300 Subject: [PATCH] prettier fix --- .../java/org/opentripplanner/transit/model/network/Route.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/org/opentripplanner/transit/model/network/Route.java b/src/main/java/org/opentripplanner/transit/model/network/Route.java index 0ae66349a18..91fcd3d0cb6 100644 --- a/src/main/java/org/opentripplanner/transit/model/network/Route.java +++ b/src/main/java/org/opentripplanner/transit/model/network/Route.java @@ -191,6 +191,7 @@ public String getFlexibleLineType() { public String getName(Locale locale) { return shortName == null ? longName.toString(locale) : shortName; } + /** @return the route's short name, or the long name if the short name is null. */ @Nonnull public String getName() {