use unique short names of stations where appropriate

git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@801 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
andreas.schildbach@gmail.com 2011-10-01 23:40:51 +00:00
parent 9a5f3b0757
commit c885fa982b

View file

@ -94,7 +94,7 @@ public final class Location implements Serializable
public final String uniqueShortName() public final String uniqueShortName()
{ {
if ("Bahnhof".equals(name)) if ("Bahnhof".equals(name) || "Dorf".equals(name))
return place + ", " + name; return place + ", " + name;
else else
return name; return name;