mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-16 09:29:49 +00:00
handle 'Hbf' when shortening names
This commit is contained in:
parent
0443dfcef4
commit
c5e31bc1c7
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,7 @@ public final class Location implements Serializable
|
|||
|
||||
public final String uniqueShortName()
|
||||
{
|
||||
if ("Hauptbahnhof".equals(name) || "Bahnhof".equals(name) || "Dorf".equals(name) || "Kirche".equals(name))
|
||||
if ("Hauptbahnhof".equals(name) || "Hbf".equals(name) || "Bahnhof".equals(name) || "Dorf".equals(name) || "Kirche".equals(name))
|
||||
return place + ", " + name;
|
||||
else
|
||||
return name;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue