use unique short names of stations where appropriate

git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@748 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
andreas.schildbach@gmail.com 2011-08-21 10:55:37 +00:00
parent 5b381b2225
commit 15930bf445

View file

@ -92,6 +92,14 @@ public final class Location implements Serializable
return lat != 0 || lon != 0;
}
public final String uniqueShortName()
{
if ("Bahnhof".equals(name))
return place + ", " + name;
else
return name;
}
@Override
public String toString()
{